class PluginException
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Exception/PluginException.php \Drupal\Component\Plugin\Exception\PluginException
- 10 core/lib/Drupal/Component/Plugin/Exception/PluginException.php \Drupal\Component\Plugin\Exception\PluginException
- 11.x core/lib/Drupal/Component/Plugin/Exception/PluginException.php \Drupal\Component\Plugin\Exception\PluginException
Generic Plugin exception class to be thrown when no more specific class is applicable.
Hierarchy
- class \Drupal\Component\Plugin\Exception\PluginException extends \Drupal\Component\Plugin\Exception\Exception implements \Drupal\Component\Plugin\Exception\ExceptionInterface
Expanded class hierarchy of PluginException
22 files declare their use of PluginException
- BlockPluginCollection.php in core/
modules/ block/ src/ BlockPluginCollection.php - BlockStorageUnitTest.php in core/
modules/ block/ tests/ src/ Kernel/ BlockStorageUnitTest.php - ContextHandler.php in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextHandler.php - ContextualLinkManager.php in core/
lib/ Drupal/ Core/ Menu/ ContextualLinkManager.php - ContextualLinkManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkManagerTest.php
File
-
core/
lib/ Drupal/ Component/ Plugin/ Exception/ PluginException.php, line 9
Namespace
Drupal\Component\Plugin\ExceptionView source
class PluginException extends \Exception implements ExceptionInterface {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.