You are here

public function MetadataBubblingUrlGenerator::getContext in Drupal 9

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

File

core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php, line 60

Class

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

Namespace

Drupal\Core\Render

Code

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