You are here

service router in Drupal 9

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

Class

Drupal\Core\Routing\AccessAwareRouter
8 string references to router
ConfigTranslationController::create in core/modules/config_translation/src/Controller/ConfigTranslationController.php
Instantiates a new instance of this class.
core.services.yml in core/core.services.yml
core/core.services.yml
DbDumpCommandTest::testSchemaOnly in core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
Tests schema only option.
DynamicLocalTasks::create in core/modules/content_moderation/src/Plugin/Derivative/DynamicLocalTasks.php
Creates a new class instance.
LanguageNegotiationUserAdmin::create in core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php
Creates an instance of the plugin.

... See full list

File

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

View source
  1. class: Drupal\Core\Routing\AccessAwareRouter
  2. arguments:
  3. - '@router.no_access_checks'
  4. - '@access_manager'
  5. - '@current_user'