You are here

public function PurlContextOutboundPathProcessor::enterContext in Persistent URL 8

1 call to PurlContextOutboundPathProcessor::enterContext()
PurlContextOutboundPathProcessor::processOutbound in src/PathProcessor/PurlContextOutboundPathProcessor.php
Processes the outbound path.

File

src/PathProcessor/PurlContextOutboundPathProcessor.php, line 63

Class

PurlContextOutboundPathProcessor

Namespace

Drupal\purl\PathProcessor

Code

public function enterContext(ModifierMatchedEvent $event, $path, $options) {
  $method = $this->methodManager
    ->getMethodPlugin($event
    ->getMethod());
  $result = $method
    ->enterContext($event
    ->getModifier(), $path, $options);
  return $result === null ? $path : $result;
}