final class PluginEvents in Plugin 8.2
Defines Plugin events.
Hierarchy
- class \Drupal\plugin\Event\PluginEvents
Expanded class hierarchy of PluginEvents
3 files declare their use of PluginEvents
- EventBasedDefaultPluginResolver.php in src/
DefaultPluginResolver/ EventBasedDefaultPluginResolver.php - EventBasedDefaultPluginResolverTest.php in tests/
src/ Unit/ DefaultPluginResolver/ EventBasedDefaultPluginResolverTest.php - PluginEventsTest.php in tests/
src/ Unit/ Event/ PluginEventsTest.php
File
- src/
Event/ PluginEvents.php, line 8
Namespace
Drupal\plugin\EventView source
final class PluginEvents {
/**
* The name of the event that is fired when a default plugin instance is
* resolved.
*
* @see \Drupal\plugin\Event\ResolveDefaultPlugin
*/
const RESOLVE_DEFAULT_PLUGIN = 'drupal.plugin.resolve_default_plugin';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginEvents:: |
constant | The name of the event that is fired when a default plugin instance is resolved. |