protected function NullGenerator::processPath

protected NullGenerator::processPath($path, &$options = array(), BubbleableMetadata $bubbleable_metadata = NULL)

Passes the path to a processor manager to allow alterations.

Overrides UrlGenerator::processPath

File

core/lib/Drupal/Core/Routing/NullGenerator.php, line 74

Class

NullGenerator
No-op implementation of a Url Generator, needed for backward compatibility.

Namespace

Drupal\Core\Routing

Code

protected function processPath($path, &$options = array(), BubbleableMetadata $bubbleable_metadata = NULL) {
  return $path;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!NullGenerator.php/function/NullGenerator::processPath/8.1.x