class PluginException

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/Exception/PluginException.php \Drupal\Component\Plugin\Exception\PluginException
  2. 10 core/lib/Drupal/Component/Plugin/Exception/PluginException.php \Drupal\Component\Plugin\Exception\PluginException
  3. 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

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

... See full list

File

core/lib/Drupal/Component/Plugin/Exception/PluginException.php, line 9

Namespace

Drupal\Component\Plugin\Exception
View 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.