interface OutboundRouteProcessorInterface

Same name in other branches
  1. 9 core/lib/Drupal/Core/RouteProcessor/OutboundRouteProcessorInterface.php \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface
  2. 8.9.x core/lib/Drupal/Core/RouteProcessor/OutboundRouteProcessorInterface.php \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface
  3. 10 core/lib/Drupal/Core/RouteProcessor/OutboundRouteProcessorInterface.php \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface

Defines an interface for classes that process the outbound route.

Hierarchy

Expanded class hierarchy of OutboundRouteProcessorInterface

All classes that implement OutboundRouteProcessorInterface

2 files declare their use of OutboundRouteProcessorInterface
RouteProcessorCsrf.php in core/lib/Drupal/Core/Access/RouteProcessorCsrf.php
UrlGenerator.php in core/lib/Drupal/Core/Routing/UrlGenerator.php

File

core/lib/Drupal/Core/RouteProcessor/OutboundRouteProcessorInterface.php, line 11

Namespace

Drupal\Core\RouteProcessor
View source
interface OutboundRouteProcessorInterface {
    
    /**
     * Processes the outbound route.
     *
     * @param string $route_name
     *   The route name.
     * @param \Symfony\Component\Routing\Route $route
     *   The outbound route to process.
     * @param array $parameters
     *   An array of parameters to be passed to the route compiler. Passed by
     *   reference.
     * @param \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata
     *   (optional) Object to collect route processors' bubbleable metadata.
     */
    public function processOutbound($route_name, Route $route, array &$parameters, ?BubbleableMetadata $bubbleable_metadata = NULL);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
OutboundRouteProcessorInterface::processOutbound public function Processes the outbound route. 3

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.