router

Same name in other branches
  1. 9 core/core.services.yml \router
  2. 10 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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.