public function RouteAwareInterface::getRoutes

Get the routes that point to this content.

Note: For PHPCR ODM, as explained in RouteObjectInterface the route must use the routeContent field to store the reference to the content so you can get the routes with Referrers(referringDocument="Symfony\Cmf\Bundle\RoutingBundle\Document\Route", referencedBy="routeContent")

Return value

\Symfony\Component\Routing\Route[] Route instances that point to this content

1 method overrides RouteAwareInterface::getRoutes()
RouteAware::getRoutes in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Routing/ContentAwareGeneratorTest.php
Get the routes that point to this content.

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/RouteAwareInterface.php, line 20

Class

RouteAwareInterface
Interface to be implemented by content that wants to be compatible with the DynamicRouter

Namespace

Symfony\Cmf\Component\Routing

Code

public function getRoutes();