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

Breadcrumb

  1. Drupal Core 11.1.x

OutboundRouteProcessorInterface.php

Namespace

Drupal\Core\RouteProcessor

File

core/lib/Drupal/Core/RouteProcessor/OutboundRouteProcessorInterface.php

View source
<?php

namespace Drupal\Core\RouteProcessor;

use Drupal\Core\Render\BubbleableMetadata;
use Symfony\Component\Routing\Route;

/**
 * Defines an interface for classes that process the outbound route.
 */
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);

}

Interfaces

Title Deprecated Summary
OutboundRouteProcessorInterface Defines an interface for classes that process the outbound route.

API Navigation

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