You are here

public function PathProcessorManager::addInbound in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php \Drupal\Core\PathProcessor\PathProcessorManager::addInbound()

Adds an inbound processor object to the $inboundProcessors property.

Parameters

\Drupal\Core\PathProcessor\InboundPathProcessorInterface $processor: The processor object to add.

int $priority: The priority of the processor being added.

File

core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php, line 64
Contains \Drupal\Core\PathProcessor\PathProcessorManager.

Class

PathProcessorManager
Path processor manager.

Namespace

Drupal\Core\PathProcessor

Code

public function addInbound(InboundPathProcessorInterface $processor, $priority = 0) {
  $this->inboundProcessors[$priority][] = $processor;
  $this->sortedInbound = array();
}