You are here

public function NullGenerator::setContext in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/NullGenerator.php \Drupal\Core\Routing\NullGenerator::setContext()

Overrides UrlGenerator::setContext

File

core/lib/Drupal/Core/Routing/NullGenerator.php, line 62

Class

NullGenerator
No-op implementation of a Url Generator, needed for backward compatibility.

Namespace

Drupal\Core\Routing

Code

public function setContext(SymfonyRequestContext $context) {
}