You are here

interface RouteObjectInterface in Drupal 10

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

45 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
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.
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