interface RouteObjectInterface
Same name in other branches
- 10 core/lib/Drupal/Core/Routing/RouteObjectInterface.php \Drupal\Core\Routing\RouteObjectInterface
- 11.x core/lib/Drupal/Core/Routing/RouteObjectInterface.php \Drupal\Core\Routing\RouteObjectInterface
Provides constants used for retrieving matched routes.
Hierarchy
- interface \Drupal\Core\Routing\RouteObjectInterface
Expanded class hierarchy of RouteObjectInterface
All classes that implement RouteObjectInterface
48 files declare their use of RouteObjectInterface
- AccessAwareRouterTest.php in core/
tests/ Drupal/ Tests/ Core/ Routing/ AccessAwareRouterTest.php - AccessManager.php in core/
lib/ Drupal/ Core/ Access/ AccessManager.php - AccessManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessManagerTest.php - Contains \Drupal\Tests\Core\Access\AccessManagerTest.
- AuthenticationManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Authentication/ AuthenticationManagerTest.php - Contains \Drupal\Tests\Core\Authentication\AuthenticationManagerTest.
- authorize.php in core/
authorize.php - Administrative script for running authorized file operations.
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteObjectInterface.php, line 8
Namespace
Drupal\Core\RoutingView source
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';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
RouteObjectInterface::CONTROLLER_NAME | constant | Key for the controller. | |
RouteObjectInterface::ROUTE_NAME | constant | Key for the route name. | |
RouteObjectInterface::ROUTE_OBJECT | constant | Key for the route object. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.