You are here

final class PluginEvents in Plugin 8.2

Defines Plugin events.

Hierarchy

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\Event
View 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

Namesort descending Modifiers Type Description Overrides
PluginEvents::RESOLVE_DEFAULT_PLUGIN constant The name of the event that is fired when a default plugin instance is resolved.