context.repository

Same name in other branches
  1. 9 core/core.services.yml \context.repository
  2. 10 core/core.services.yml \context.repository

Class

Drupal\Core\Plugin\Context\LazyContextRepository
11 string references to context.repository
BlockAccessControlHandler::createInstance in core/modules/block/src/BlockAccessControlHandler.php
Instantiates a new instance of this entity handler.
BlockForm::create in core/modules/block/src/BlockForm.php
Instantiates a new instance of this class.
BlockLibraryController::create in core/modules/block/src/Controller/BlockLibraryController.php
Instantiates a new instance of this class.
ConfigureBlockFormBase::create in core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
Instantiates a new instance of this class.
ContextProvidersPass::process in core/lib/Drupal/Core/DependencyInjection/Compiler/ContextProvidersPass.php
Passes the service IDs of all context providers to the context repository.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Plugin\Context\LazyContextRepository
  2. arguments:
  3. - '@service_container'

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