You are here

protected property LazyContextRepository::$contexts in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php \Drupal\Core\Plugin\Context\LazyContextRepository::contexts
  2. 9 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\Context

Code

protected $contexts = [];