public function RouteObjectInterface::getRouteKey

Get the route key.

This key will be used as route name instead of the symfony core compatible route name and can contain any characters.

Return null if you want to use the default key.

Return value

string the route name

3 methods override RouteObjectInterface::getRouteKey()
RouteMock::getRouteKey in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Routing/RouteMock.php
Get the route key.
RouteObject::getRouteKey in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Routing/ProviderBasedGeneratorTest.php
Get the route key.
RouteObject::getRouteKey in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Enhancer/RouteObject.php
Get the route key.

File

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

Class

RouteObjectInterface
Classes for entries in the routing table may implement this interface in addition to extending Symfony\Component\Routing\Route.

Namespace

Symfony\Cmf\Component\Routing

Code

public function getRouteKey();