UrlGenerator::$pathProcessor

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::pathProcessor
  2. 8.9.x core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::pathProcessor
  3. 10 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::pathProcessor

The path processor to convert the system path to one suitable for URLs.

Type: \Drupal\Core\PathProcessor\OutboundPathProcessorInterface

File

core/lib/Drupal/Core/Routing/UrlGenerator.php, line 45

Class

UrlGenerator
Generates URLs from route names and parameters.

Namespace

Drupal\Core\Routing

Code

protected $pathProcessor;

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