theme.negotiator

Same name in other branches
  1. 9 core/core.services.yml \theme.negotiator
  2. 8.9.x core/core.services.yml \theme.negotiator

Class

Drupal\Core\Theme\ThemeNegotiator

Tags

  • service_id_collector
1 string reference to theme.negotiator
MenuTestController::create in core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php
Instantiates a new instance of the implementing class using autowiring.

File

core/core.services.yml

View source
  1. class: Drupal\Core\Theme\ThemeNegotiator
  2. arguments:
  3. - '@access_check.theme'
  4. - '@class_resolver'
  5. tags:
  6. - { name: service_id_collector, tag: theme_negotiator }

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