BlockAccessControlHandler::$contextRepository

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

The context manager service.

Type: \Drupal\Core\Plugin\Context\ContextRepositoryInterface

File

core/modules/block/src/BlockAccessControlHandler.php, line 42

Class

BlockAccessControlHandler
Defines the access control handler for the content block entity type.

Namespace

Drupal\block

Code

protected $contextRepository;

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