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

Breadcrumb

  1. Drupal Core 11.1.x

RouteObjectInterface.php

Namespace

Drupal\Core\Routing

File

core/lib/Drupal/Core/Routing/RouteObjectInterface.php

View 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

Title Deprecated Summary
RouteObjectInterface Provides constants used for retrieving matched routes.

API Navigation

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