You are here

service context.repository in Drupal 9

Same name and namespace in other branches
  1. 8 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
core/core.services.yml

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