public function RouteObject::getRouteKey

Same name in this branch

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

Overrides RouteObjectInterface::getRouteKey

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Routing/ProviderBasedGeneratorTest.php, line 105

Class

RouteObject

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function getRouteKey() {
  return '/some/key';
}