You are here

public function NullGenerator::setContext in Zircon Profile 8.0

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

Sets the request context.

Parameters

RequestContext $context The context:

Overrides UrlGenerator::setContext

File

core/lib/Drupal/Core/Routing/NullGenerator.php, line 67
Contains \Drupal\Core\Routing\NullGenerator.

Class

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

Namespace

Drupal\Core\Routing

Code

public function setContext(SymfonyRequestContext $context) {
}