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

1
2
3
protected function processPath($path, &$options = array(), BubbleableMetadata $bubbleable_metadata = NULL) {
  return $path;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.