Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \router.request_context
  2. 9 core/core.services.yml \router.request_context

Class

Drupal\Core\Routing\RequestContext

Tags

  • persist
14 string references to router.request_context
FileUrlGenerator::generate in core/lib/Drupal/Core/File/FileUrlGenerator.php
LocalAwareRedirectResponseTrait::getRequestContext in core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php
Returns the request context.
MenuLinkContentCacheabilityBubblingTest::testOutboundPathAndRouteProcessing in core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php
Tests bubbleable metadata of menu links' outbound route/path processing.
PathValidatorTest::testGetUrlIfValidWithoutAccessCheck in core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php
path_field_widget_single_element_form_alter in core/modules/path/path.module
Implements hook_field_widget_single_element_form_alter().

... 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']]