RouteObjectInterface.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\Core\RoutingFile
core/lib/Drupal/Core/Routing/RouteObjectInterface.phpView source
<?php
namespace Drupal\Core\Routing;
/**
* Provides constants used for retrieving matched routes.
*/
interface RouteObjectInterface {
/**
* Key for the route name.
*
* @var string
*/
const ROUTE_NAME = '_route';
/**
* Key for the route object.
*
* @var string
*/
const ROUTE_OBJECT = '_route_object';
/**
* Key for the controller.
*/
const CONTROLLER_NAME = '_controller';
}
Interfaces
Name | Description |
---|---|
RouteObjectInterface | Provides constants used for retrieving matched routes. |