router.admin_context

Same name and namespace in other branches
  1. 9 core/core.services.yml \router.admin_context
  2. 8.9.x core/core.services.yml \router.admin_context
  3. 10 core/core.services.yml \router.admin_context

Class

Drupal\Core\Routing\AdminContext
5 string references to router.admin_context
AdminNegotiator::__construct in core/modules/user/src/Theme/AdminNegotiator.php
Creates a new AdminNegotiator instance.
demo_umami_toolbar in core/profiles/demo_umami/demo_umami.profile
Implements hook_toolbar().
LanguageNegotiationUserAdmin::create in core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php
Creates an instance of the plugin.
SystemHooks::pageTop in core/modules/system/src/Hook/SystemHooks.php
Implements hook_page_top().
UpdateHooks::pageTop in core/modules/update/src/Hook/UpdateHooks.php
Implements hook_page_top().

File

core/core.services.yml

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

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