public function MetadataBubblingUrlGenerator::setContext in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php \Drupal\Core\Render\MetadataBubblingUrlGenerator::setContext()
File
- core/
lib/ Drupal/ Core/ Render/ MetadataBubblingUrlGenerator.php, line 53
Class
- MetadataBubblingUrlGenerator
- Decorator for the URL generator, which bubbles bubbleable URL metadata.
Namespace
Drupal\Core\RenderCode
public function setContext(SymfonyRequestContext $context) {
$this->urlGenerator
->setContext($context);
}