function PathProcessorManager::addInbound
Same name in other branches
- 9 core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php \Drupal\Core\PathProcessor\PathProcessorManager::addInbound()
- 8.9.x core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php \Drupal\Core\PathProcessor\PathProcessorManager::addInbound()
- 11.x 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 59
Class
- PathProcessorManager
- Path processor manager.
Namespace
Drupal\Core\PathProcessorCode
public function addInbound(InboundPathProcessorInterface $processor, $priority = 0) {
$this->inboundProcessors[$priority][] = $processor;
$this->sortedInbound = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.