ComponentNegotiator::$cache

Same name in this branch
  1. 10 core/lib/Drupal/Core/Theme/ComponentNegotiator.php \Drupal\Core\Theme\ComponentNegotiator::cache
Same name in other branches
  1. 11.x core/modules/sdc/src/ComponentNegotiator.php \Drupal\sdc\ComponentNegotiator::cache
  2. 11.x core/lib/Drupal/Core/Theme/ComponentNegotiator.php \Drupal\Core\Theme\ComponentNegotiator::cache

Holds the component IDs from previous negotiations.

Type: array

File

core/modules/sdc/src/ComponentNegotiator.php, line 29

Class

ComponentNegotiator
Determines which component should be used.

Namespace

Drupal\sdc

Code

protected array $cache = [];

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