Same name and namespace in other branches
- 8.9.x core/core.services.yml \current_route_match
- 9 core/core.services.yml \current_route_match
Class
Drupal\Core\Routing\CurrentRouteMatch6 string references to current_route_match
- BlockLibraryController::create in core/
modules/ block/ src/ Controller/ BlockLibraryController.php - Instantiates a new instance of the implementing class using autowiring.
- ConfigTranslationFormTest::testConfigTranslationFormAlter in core/
modules/ config_translation/ tests/ src/ Kernel/ ConfigTranslationFormTest.php - Tests altering of the configuration translation forms.
- ContentPreprocess::create in core/
modules/ content_moderation/ src/ ContentPreprocess.php - Instantiates a new instance of this class.
- Drupal::routeMatch in core/
lib/ Drupal.php - Retrieves the currently active route match object.
- HelpController::create in core/
modules/ help/ src/ Controller/ HelpController.php - Instantiates a new instance of the implementing class using autowiring.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Routing\CurrentRouteMatch
- arguments:
- - '@request_stack'