AdminNegotiator

Sets the active theme on admin pages.

Hierarchy

File

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

Namespace

Drupal\user\Theme

Members

Name Modifiers Type Description
AdminNegotiator::$adminContext protected property The route admin context to determine whether a route is an admin one.
AdminNegotiator::$configFactory protected property The config factory.
AdminNegotiator::$entityManager protected property The entity manager.
AdminNegotiator::$user protected property The current user.
AdminNegotiator::applies public function Whether this theme negotiator should be used to set the theme. Overrides ThemeNegotiatorInterface::applies
AdminNegotiator::determineActiveTheme public function Determine the active theme for the request. Overrides ThemeNegotiatorInterface::determineActiveTheme
AdminNegotiator::__construct public function Creates a new AdminNegotiator instance.
doc_Drupal
2016-10-29 08:43:43
Comments
Leave a Comment

Please login to continue.