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/Enhancer/RouteObject.php, line 14

Class

RouteObject
Empty abstract class to be able to mock an object that both extends Route and implements RouteObjectInterface

Namespace

Symfony\Cmf\Component\Routing\Tests\Enhancer

Code

public function getRouteKey() {
  return null;
}