Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UrlGenerator.php

function UrlGenerator::getContext

Same name in this branch
  1. 11.1.x core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()

Overrides RequestContextAwareInterface::getContext

File

vendor/symfony/routing/Generator/UrlGenerator.php, line 89

Class

UrlGenerator
UrlGenerator can generate a URL or a path for any route in the RouteCollection based on the passed parameters.

Namespace

Symfony\Component\Routing\Generator

Code

public function getContext() : RequestContext {
    return $this->context;
}
RSS feed
Powered by Drupal