You are here

service router in Drupal 8

Same name and namespace in other branches
  1. 9 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
Test schema only option.
LanguageNegotiationUserAdmin::create in core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php
Creates an instance of the plugin.
ModuleInstallerTest::testRouteRebuild in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
Tests that routes are rebuilt during install and uninstall of modules.

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