You are here

service router.admin_context in Drupal 10

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

Class

Drupal\Core\Routing\AdminContext
8 string references to router.admin_context
demo_umami_toolbar in core/profiles/demo_umami/demo_umami.profile
Implements hook_toolbar().
FieldUIRouteTest::testAdminRoute in core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php
Asserts that admin routes are correctly marked as such.
LanguageNegotiationUserAdmin::create in core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php
quickedit_page_attachments in core/modules/quickedit/quickedit.module
Implements hook_page_attachments().
system_js_settings_alter in core/modules/system/system.module
Implements hook_js_settings_alter().

... See full list

File

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

View source
  1. class: Drupal\Core\Routing\AdminContext
  2. arguments:
  3. - '@current_route_match'