function PathProcessorDecode::processInbound

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php \Drupal\Core\PathProcessor\PathProcessorDecode::processInbound()
  2. 10 core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php \Drupal\Core\PathProcessor\PathProcessorDecode::processInbound()
  3. 11.x core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php \Drupal\Core\PathProcessor\PathProcessorDecode::processInbound()

Overrides InboundPathProcessorInterface::processInbound

File

core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php, line 25

Class

PathProcessorDecode
Processes the inbound path by urldecoding it.

Namespace

Drupal\Core\PathProcessor

Code

public function processInbound($path, Request $request) {
    return urldecode($path);
}

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