function NullGenerator::setContext

Same name in other branches
  1. 9 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) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.