public function MetadataBubblingUrlGenerator::getPathFromRoute in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php \Drupal\Core\Render\MetadataBubblingUrlGenerator::getPathFromRoute()
- 9 core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php \Drupal\Core\Render\MetadataBubblingUrlGenerator::getPathFromRoute()
File
- core/
lib/ Drupal/ Core/ Render/ MetadataBubblingUrlGenerator.php, line 67
Class
- MetadataBubblingUrlGenerator
- Decorator for the URL generator, which bubbles bubbleable URL metadata.
Namespace
Drupal\Core\RenderCode
public function getPathFromRoute($name, $parameters = []) {
return $this->urlGenerator
->getPathFromRoute($name, $parameters);
}