context.repository
Same name in other branches
- 9 core/core.services.yml \context.repository
- 8.9.x core/core.services.yml \context.repository
Class
Drupal\Core\Plugin\Context\LazyContextRepositoryTags
- service_id_collector
10 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 the implementing class using autowiring.
- 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.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Plugin\Context\LazyContextRepository
- arguments:
- - '@service_container'
- tags:
- - { name: service_id_collector, tag: context_provider }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.