public function UrlGenerator::setContext in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::setContext()
1 method overrides UrlGenerator::setContext()
- NullGenerator::setContext in core/
lib/ Drupal/ Core/ Routing/ NullGenerator.php
File
- core/
lib/ Drupal/ Core/ Routing/ UrlGenerator.php, line 101
Class
- UrlGenerator
- Generates URLs from route names and parameters.
Namespace
Drupal\Core\RoutingCode
public function setContext(SymfonyRequestContext $context) {
$this->context = $context;
}