UrlGenerator::setContext

public UrlGenerator::setContext(SymfonyRequestContext $context)

File

core/lib/Drupal/Core/Routing/UrlGenerator.php, line 92

Class

UrlGenerator
Generates URLs from route names and parameters.

Namespace

Drupal\Core\Routing

Code

public function setContext(SymfonyRequestContext $context) {
  $this->context = $context;
}
doc_Drupal
2016-10-29 09:51:49
Comments
Leave a Comment

Please login to continue.