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 - BlockForm::create in core/
modules/ block/ src/ BlockForm.php - BlockLibraryController::create in core/
modules/ block/ src/ Controller/ BlockLibraryController.php - ConfigureBlockFormBase::create in core/
modules/ layout_builder/ src/ Form/ ConfigureBlockFormBase.php - 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.