File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 18
18
use Symfony \Cmf \Bundle \CoreBundle \PublishWorkflow \PublishTimePeriodInterface ;
19
19
use Symfony \Cmf \Bundle \CoreBundle \PublishWorkflow \PublishableInterface ;
20
20
use Symfony \Cmf \Bundle \CoreBundle \Translatable \TranslatableInterface ;
21
+ use Symfony \Cmf \Bundle \MenuBundle \Model \MenuOptionsInterface ;
21
22
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \Route ;
22
23
use Symfony \Cmf \Component \Routing \RouteReferrersReadInterface ;
23
- use PHPCR \NodeInterface as PHPCRNodeInterface ;
24
24
25
25
use Symfony \Component \Validator \Constraints as Assert ;
26
26
@@ -40,6 +40,7 @@ class Page extends Route implements
40
40
RouteReferrersReadInterface, // this must not be the write interface, it would make no sense
41
41
PublishTimePeriodInterface,
42
42
PublishableInterface,
43
+ MenuOptionsInterface,
43
44
TranslatableInterface
44
45
{
45
46
/**
@@ -670,16 +671,4 @@ public function setRouteOptions(array $options)
670
671
{
671
672
parent ::setOptions ($ options );
672
673
}
673
-
674
- /**
675
- * Retrieve UUID of Node or null if not present
676
- *
677
- * @return string|null
678
- */
679
- public function getUUID ()
680
- {
681
- $ node = $ this ->getNode ();
682
-
683
- return $ node instanceof PHPCRNodeInterface ? $ node ->getIdentifier () : null ;
684
- }
685
674
}
You can’t perform that action at this time.
0 commit comments