public function RouteMock::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

Overrides RouteObjectInterface::getRouteKey

File

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

Class

RouteMock

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function getRouteKey() {
  return null;
}