You are here

service router in Drupal 10

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

Class

Drupal\Core\Routing\AccessAwareRouter
12 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::setUp in core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
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

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