context.repository

Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \context.repository
  2. 10 core/core.services.yml \context.repository
  3. 11.x core/core.services.yml \context.repository

Class

Drupal\Core\Plugin\Context\LazyContextRepository
2 string references to context.repository
ContextProvidersPass::process in core/lib/Drupal/Core/DependencyInjection/Compiler/ContextProvidersPass.php
Passes the service IDs of all context providers to the context repository.
EntityConverter::convert in core/lib/Drupal/Core/ParamConverter/EntityConverter.php
Converts path variables to their corresponding objects.

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.