AdminNegotiator::$adminContext

Same name in other branches
  1. 8.9.x core/modules/user/src/Theme/AdminNegotiator.php \Drupal\user\Theme\AdminNegotiator::adminContext
  2. 10 core/modules/user/src/Theme/AdminNegotiator.php \Drupal\user\Theme\AdminNegotiator::adminContext
  3. 11.x core/modules/user/src/Theme/AdminNegotiator.php \Drupal\user\Theme\AdminNegotiator::adminContext

The route admin context to determine whether a route is an admin one.

Type: \Drupal\Core\Routing\AdminContext

File

core/modules/user/src/Theme/AdminNegotiator.php, line 43

Class

AdminNegotiator
Sets the active theme on admin pages.

Namespace

Drupal\user\Theme

Code

protected $adminContext;

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