class NullPathProcessorManager

Same name in other branches
  1. 9 core/lib/Drupal/Core/PathProcessor/NullPathProcessorManager.php \Drupal\Core\PathProcessor\NullPathProcessorManager
  2. 10 core/lib/Drupal/Core/PathProcessor/NullPathProcessorManager.php \Drupal\Core\PathProcessor\NullPathProcessorManager
  3. 11.x core/lib/Drupal/Core/PathProcessor/NullPathProcessorManager.php \Drupal\Core\PathProcessor\NullPathProcessorManager

Provides a null implementation of the path processor manager.

This can be used for example in really early installer phases.

Hierarchy

Expanded class hierarchy of NullPathProcessorManager

File

core/lib/Drupal/Core/PathProcessor/NullPathProcessorManager.php, line 13

Namespace

Drupal\Core\PathProcessor
View source
class NullPathProcessorManager implements InboundPathProcessorInterface, OutboundPathProcessorInterface {
    
    /**
     * {@inheritdoc}
     */
    public function processInbound($path, Request $request) {
        return $path;
    }
    
    /**
     * {@inheritdoc}
     */
    public function processOutbound($path, &$options = [], Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) {
        return $path;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NullPathProcessorManager::processInbound public function Processes the inbound path. Overrides InboundPathProcessorInterface::processInbound
NullPathProcessorManager::processOutbound public function Processes the outbound path. Overrides OutboundPathProcessorInterface::processOutbound

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.