BlockLibraryController::$contextRepository

Same name in other branches
  1. 9 core/modules/block/src/Controller/BlockLibraryController.php \Drupal\block\Controller\BlockLibraryController::contextRepository
  2. 8.9.x core/modules/block/src/Controller/BlockLibraryController.php \Drupal\block\Controller\BlockLibraryController::contextRepository
  3. 11.x core/modules/block/src/Controller/BlockLibraryController.php \Drupal\block\Controller\BlockLibraryController::contextRepository

The context repository.

Type: \Drupal\Core\Plugin\Context\LazyContextRepository

File

core/modules/block/src/Controller/BlockLibraryController.php, line 33

Class

BlockLibraryController
Provides a list of block plugins to be added to the layout.

Namespace

Drupal\block\Controller

Code

protected $contextRepository;

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