public function UrlGenerator::getContext in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/routing/Generator/UrlGenerator.php \Symfony\Component\Routing\Generator\UrlGenerator::getContext()
- 8.0 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()
Gets the request context.
Return value
RequestContext The context
Overrides RequestContextAwareInterface::getContext
1 method overrides UrlGenerator::getContext()
- NullGenerator::getContext in core/
lib/ Drupal/ Core/ Routing/ NullGenerator.php - Gets the request context.
File
- core/
lib/ Drupal/ Core/ Routing/ UrlGenerator.php, line 104 - Contains \Drupal\Core\Routing\UrlGenerator.
Class
- UrlGenerator
- Generates URLs from route names and parameters.
Namespace
Drupal\Core\RoutingCode
public function getContext() {
return $this->context;
}