You are here

service router.request_context in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/core.services.yml \router.request_context

Class

Drupal\Core\Routing\RequestContext

Tags

  • persist
8 string references to router.request_context
LocalAwareRedirectResponseTrait::getRequestContext in core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php
Returns the request context.
MenuLinkContentCacheabilityBubblingTest::testOutboundPathAndRouteProcessing in core/modules/menu_link_content/src/Tests/MenuLinkContentCacheabilityBubblingTest.php
Tests bubbleable metadata of menu links' outbound route/path processing.
PathFormBase::create in core/modules/path/src/Form/PathFormBase.php
Instantiates a new instance of this class.
RedirectResponseSubscriberTest::setUp in core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php
RouteNoneTest::testProcessOutbound in core/modules/system/src/Tests/RouteProcessor/RouteNoneTest.php
Tests the output process.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Routing\RequestContext
  2. tags:
  3. - { name: persist }
  4. calls:
  5. - [fromRequestStack, ['@request_stack']]