public function 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

drupal/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();
}