You are here

public function UrlGenerator::getContext in Drupal 9

Same name and namespace in other branches
  1. 8 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 108

Class

UrlGenerator
Generates URLs from route names and parameters.

Namespace

Drupal\Core\Routing

Code

public function getContext() {
  return $this->context;
}