You are here

public function MetadataBubblingUrlGenerator::getContext in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php \Drupal\Core\Render\MetadataBubblingUrlGenerator::getContext()

Gets the request context.

Return value

RequestContext The context

Overrides RequestContextAwareInterface::getContext

File

core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php, line 65
Contains \Drupal\Core\Render\MetadataBubblingUrlGenerator.

Class

MetadataBubblingUrlGenerator
Decorator for the URL generator, which bubbles bubbleable URL metadata.

Namespace

Drupal\Core\Render

Code

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