function PathProcessorManager::processOutbound

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php \Drupal\Core\PathProcessor\PathProcessorManager::processOutbound()
  2. 8.9.x core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php \Drupal\Core\PathProcessor\PathProcessorManager::processOutbound()
  3. 10 core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php \Drupal\Core\PathProcessor\PathProcessorManager::processOutbound()

Overrides OutboundPathProcessorInterface::processOutbound

File

core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php, line 105

Class

PathProcessorManager
Path processor manager.

Namespace

Drupal\Core\PathProcessor

Code

public function processOutbound($path, &$options = [], ?Request $request = NULL, ?BubbleableMetadata $bubbleable_metadata = NULL) {
    $processors = $this->getOutbound();
    foreach ($processors as $processor) {
        $path = $processor->processOutbound($path, $options, $request, $bubbleable_metadata);
    }
    return $path;
}

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