RouteProcessorManager::addOutbound

public RouteProcessorManager::addOutbound(OutboundRouteProcessorInterface $processor, $priority = 0)

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 41

Class

RouteProcessorManager
Route processor manager.

Namespace

Drupal\Core\RouteProcessor

Code

public function addOutbound(OutboundRouteProcessorInterface $processor, $priority = 0) {
  $this->outboundProcessors[$priority][] = $processor;
  $this->sortedOutbound = array();
}
doc_Drupal
2016-10-29 09:39:13
Comments
Leave a Comment

Please login to continue.