service router.request_context in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \router.request_context
- 9 core/core.services.yml \router.request_context
Class
Drupal\Core\Routing\RequestContextTags
- persist
12 string references to router.request_context
- FileUrlGenerator::generate in core/
lib/ Drupal/ Core/ File/ FileUrlGenerator.php - FunctionalTestSetupTrait::prepareRequestForGenerator in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Creates a mock request and sets it on the generator.
- 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
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Routing\RequestContext
- tags:
- - { name: persist }
- calls:
- - [fromRequestStack, ['@request_stack']]