You are here

final class WorkbenchModerationEvents in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/Event/WorkbenchModerationEvents.php \Drupal\workbench_moderation\Event\WorkbenchModerationEvents

Defines a class for moderation events.

Hierarchy

Expanded class hierarchy of WorkbenchModerationEvents

1 file declares its use of WorkbenchModerationEvents
EntityOperations.php in src/EntityOperations.php

File

src/Event/WorkbenchModerationEvents.php, line 8

Namespace

Drupal\workbench_moderation\Event
View source
final class WorkbenchModerationEvents {

  /**
   * This event is fired everytime a state is changed.
   *
   * @Event
   */
  const STATE_TRANSITION = 'workbench_moderation.state_transition';

}

Members

Namesort descending Modifiers Type Description Overrides
WorkbenchModerationEvents::STATE_TRANSITION constant This event is fired everytime a state is changed.