You are here

public function UrlGenerator::getContext in Persistent URL 8

Gets the request context.

Return value

RequestContext The context

File

src/Routing/UrlGenerator.php, line 70

Class

UrlGenerator

Namespace

Drupal\purl\Routing

Code

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