Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/RouteObjectInterface.php \Drupal\Core\Routing\RouteObjectInterface

Provides constants used for retrieving matched routes.

Hierarchy

Expanded class hierarchy of RouteObjectInterface

All classes that implement RouteObjectInterface

40 files declare their use of RouteObjectInterface
AccessManager.php in core/lib/Drupal/Core/Access/AccessManager.php
AccessManagerTest.php in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
AuthenticationManagerTest.php in core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php
authorize.php in core/authorize.php
Administrative script for running authorized file operations.
CurrentRouteMatchTest.php in core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php

... See full list

File

core/lib/Drupal/Core/Routing/RouteObjectInterface.php, line 8

Namespace

Drupal\Core\Routing
View 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

Namesort descending Modifiers Type Description Overrides
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.