You are here

service context.handler in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \context.handler
  2. 9 core/core.services.yml \context.handler

Class

Drupal\Core\Plugin\Context\ContextHandler
14 string references to context.handler
BlockAccessControlHandler::createInstance in core/modules/block/src/BlockAccessControlHandler.php
Instantiates a new instance of this entity handler.
BlockComponentRenderArrayTest::setUp in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockViewBuilder::buildPreRenderableBlock in core/modules/block/src/BlockViewBuilder.php
Builds a #pre_render-able block render array.
ConditionTestDualUserTest::doTestDifferentUser in core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php
Tests with each context mapped to different users.
ConditionTestDualUserTest::doTestIdenticalUser in core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php
Tests with both contexts mapped to the same user.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Plugin\Context\ContextHandler