public function MetadataBubblingUrlGenerator::setContext in Drupal 8
Same name and namespace in other branches
- 9 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);
}