class PluginException

Same name in other branches
  1. 8.9.x 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

Base class for plugin exceptions.

Hierarchy

Expanded class hierarchy of PluginException

23 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
ContextualLinkManager.php in core/lib/Drupal/Core/Menu/ContextualLinkManager.php
ContextualLinkManagerTest.php in core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php
DefaultFactory.php in core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php

... See full list

File

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

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.