You are here

public function PurlContextOutboundPathProcessor::exitContext in Persistent URL 8

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

File

src/PathProcessor/PurlContextOutboundPathProcessor.php, line 53

Class

PurlContextOutboundPathProcessor

Namespace

Drupal\purl\PathProcessor

Code

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