Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Routing/RouteMatchInterface.php \Drupal\Core\Routing\RouteMatchInterface::getRouteName()
- 9 core/lib/Drupal/Core/Routing/RouteMatchInterface.php \Drupal\Core\Routing\RouteMatchInterface::getRouteName()
Returns the route name.
Return value
string|null The route name. NULL if no route is matched.
File
- core/
lib/ Drupal/ Core/ Routing/ RouteMatchInterface.php, line 28
Class
- RouteMatchInterface
- Provides an interface for classes representing the result of routing.
Namespace
Drupal\Core\RoutingCode
public function getRouteName();