Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RouteObjectInterface.php

interface RouteObjectInterface

Provides constants used for retrieving matched routes.

Hierarchy

  • interface \Drupal\Core\Routing\RouteObjectInterface

Expanded class hierarchy of RouteObjectInterface

All classes that implement RouteObjectInterface

22 files declare their use of RouteObjectInterface
AccessManager.php in core/lib/Drupal/Core/Access/AccessManager.php
authorize.php in core/authorize.php
Administrative script for running authorized file operations.
EntityBundleRouteEnhancer.php in core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php
EntityRevisionRouteEnhancer.php in core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php
EntityRouteEnhancer.php in core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.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

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.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal