This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from symfony-cmf/publishworkflow
adjust to publish workflow refactoring
- Loading branch information
Showing
6 changed files
with
64 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,16 @@ | |
namespace Symfony\Cmf\Bundle\MenuBundle\Document; | ||
|
||
use Knp\Menu\NodeInterface; | ||
use Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishWorkflowInterface; | ||
use Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishableWriteInterface; | ||
use Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishTimePeriodWriteInterface; | ||
|
||
/** | ||
* This class represents a menu node for the cmf. | ||
* | ||
* @author Uwe Jäger <[email protected]> | ||
* @author Daniel Leech <[email protected]> | ||
*/ | ||
class MenuNode implements NodeInterface, PublishWorkflowInterface | ||
class MenuNode implements NodeInterface, PublishTimePeriodWriteInterface, PublishableWriteInterface | ||
{ | ||
/** | ||
* Id of this menu node. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters