public function RouteProcessorManager::addOutbound in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php \Drupal\Core\RouteProcessor\RouteProcessorManager::addOutbound()
Adds an outbound processor object to the $outboundProcessors property.
Parameters
\Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface $processor: The processor object to add.
int $priority: The priority of the processor being added.
File
- core/
lib/ Drupal/ Core/ RouteProcessor/ RouteProcessorManager.php, line 46 - Contains \Drupal\Core\RouteProcessor\RouteProcessorManager.
Class
- RouteProcessorManager
- Route processor manager.
Namespace
Drupal\Core\RouteProcessorCode
public function addOutbound(OutboundRouteProcessorInterface $processor, $priority = 0) {
$this->outboundProcessors[$priority][] = $processor;
$this->sortedOutbound = array();
}