class PluginException
Generic Plugin exception class to be thrown when no more specific class is applicable.
Hierarchy
- class \Drupal\Component\Plugin\Exception\PluginException implements \Drupal\Component\Plugin\Exception\ExceptionInterface extends \Drupal\Component\Plugin\Exception\Exception
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.