You are here

final class EntityEvents in RedHen CRM 8

Contains all events thrown while handling RedHen entities.

Hierarchy

Expanded class hierarchy of EntityEvents

File

src/Event/EntityEvents.php, line 8

Namespace

Drupal\redhen\Event
View source
final class EntityEvents {

  /**
   * The name of the event triggered when a RedHen entity is made active.
   *
   * This event allows modules to react whenever a RedHen entity (contact, org,
   * connection) that is inactive is made active.
   *
   * @Event
   *
   *
   * @var string
   */
  const ACTIVE = 'redhen.active';

  /**
   * The name of the event triggered when a RedHen entity is made inactive.
   *
   * This event allows modules to react whenever a RedHen entity (contact, org,
   * connection) that is active is made inactive.
   *
   * @Event
   *
   *
   * @var string
   */
  const INACTIVE = 'redhen.inactive';

}

Members

Namesort descending Modifiers Type Description Overrides
EntityEvents::ACTIVE constant The name of the event triggered when a RedHen entity is made active.
EntityEvents::INACTIVE constant The name of the event triggered when a RedHen entity is made inactive.