You are here

class ContextException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Exception/ContextException.php \Drupal\Component\Plugin\Exception\ContextException
  2. 9 core/lib/Drupal/Component/Plugin/Exception/ContextException.php \Drupal\Component\Plugin\Exception\ContextException

An exception class to be thrown for context plugin exceptions.

Hierarchy

Expanded class hierarchy of ContextException

13 files declare their use of ContextException
BlockAccessControlHandler.php in core/modules/block/src/BlockAccessControlHandler.php
ConditionAccessResolverTrait.php in core/lib/Drupal/Core/Condition/ConditionAccessResolverTrait.php
ConditionAccessResolverTraitTest.php in core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php
Contains \Drupal\Tests\Core\Condition\ConditionAccessResolverTraitTest.
Context.php in core/lib/Drupal/Core/Plugin/Context/Context.php
Context.php in core/lib/Drupal/Component/Plugin/Context/Context.php

... See full list

File

core/lib/Drupal/Component/Plugin/Exception/ContextException.php, line 8

Namespace

Drupal\Component\Plugin\Exception
View source
class ContextException extends \Exception implements ExceptionInterface {

}

Members