You are here

interface OutboundRouteProcessorInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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
Contains \Drupal\Core\Access\RouteProcessorCsrf.
UrlGenerator.php in core/lib/Drupal/Core/Routing/UrlGenerator.php
Contains \Drupal\Core\Routing\UrlGenerator.

File

core/lib/Drupal/Core/RouteProcessor/OutboundRouteProcessorInterface.php, line 16
Contains \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface.

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.
   *
   * @return
   *   The processed path.
   */
  public function processOutbound($route_name, Route $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL);

}

Members