function UrlGenerator::getContext
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()
- 10 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()
- 11.x core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()
1 method overrides UrlGenerator::getContext()
- NullGenerator::getContext in core/
lib/ Drupal/ Core/ Routing/ NullGenerator.php
File
-
core/
lib/ Drupal/ Core/ Routing/ UrlGenerator.php, line 107
Class
- UrlGenerator
- Generates URLs from route names and parameters.
Namespace
Drupal\Core\RoutingCode
public function getContext() {
return $this->context;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.