function NullGenerator::processPath

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/NullGenerator.php \Drupal\Core\Routing\NullGenerator::processPath()
  2. 8.9.x core/lib/Drupal/Core/Routing/NullGenerator.php \Drupal\Core\Routing\NullGenerator::processPath()
  3. 10 core/lib/Drupal/Core/Routing/NullGenerator.php \Drupal\Core\Routing\NullGenerator::processPath()

Overrides UrlGenerator::processPath

File

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

Class

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

Namespace

Drupal\Core\Routing

Code

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

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