function MetadataBubblingUrlGenerator::setContext
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php \Drupal\Core\Render\MetadataBubblingUrlGenerator::setContext()
- 10 core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php \Drupal\Core\Render\MetadataBubblingUrlGenerator::setContext()
- 11.x 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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.