LazyContextRepository::$contexts
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php \Drupal\Core\Plugin\Context\LazyContextRepository::contexts
- 10 core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php \Drupal\Core\Plugin\Context\LazyContextRepository::contexts
- 11.x core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php \Drupal\Core\Plugin\Context\LazyContextRepository::contexts
The statically cached contexts.
Type: \Drupal\Core\Plugin\Context\ContextInterface[]
File
-
core/
lib/ Drupal/ Core/ Plugin/ Context/ LazyContextRepository.php, line 32
Class
- LazyContextRepository
- Provides a context repository which uses context provider services.
Namespace
Drupal\Core\Plugin\ContextCode
protected $contexts = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.