ThemeNegotiator::$negotiators

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Theme/ThemeNegotiator.php \Drupal\Core\Theme\ThemeNegotiator::negotiators
  2. 10 core/lib/Drupal/Core/Theme/ThemeNegotiator.php \Drupal\Core\Theme\ThemeNegotiator::negotiators
  3. 11.x core/lib/Drupal/Core/Theme/ThemeNegotiator.php \Drupal\Core\Theme\ThemeNegotiator::negotiators

Holds an array of theme negotiator IDs, sorted by priority.

Type: string[]

File

core/lib/Drupal/Core/Theme/ThemeNegotiator.php, line 21

Class

ThemeNegotiator
Provides a class which determines the active theme of the page.

Namespace

Drupal\Core\Theme

Code

protected $negotiators = [];

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