class ContextException
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Exception/ContextException.php \Drupal\Component\Plugin\Exception\ContextException
- 8.9.x core/lib/Drupal/Component/Plugin/Exception/ContextException.php \Drupal\Component\Plugin\Exception\ContextException
- 11.x core/lib/Drupal/Component/Plugin/Exception/ContextException.php \Drupal\Component\Plugin\Exception\ContextException
An exception class to be thrown for context plugin exceptions.
Hierarchy
- class \Drupal\Component\Plugin\Exception\ContextException extends \Drupal\Component\Plugin\Exception\Exception implements \Drupal\Component\Plugin\Exception\ExceptionInterface
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 - Context.php in core/
lib/ Drupal/ Component/ Plugin/ Context/ Context.php - Context.php in core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php
File
-
core/
lib/ Drupal/ Component/ Plugin/ Exception/ ContextException.php, line 8
Namespace
Drupal\Component\Plugin\ExceptionView source
class ContextException extends \Exception implements ExceptionInterface {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.