You are here

final class EntityEvents in Entity API 8

Defines events for the Entity module.

Hierarchy

Expanded class hierarchy of EntityEvents

2 files declare their use of EntityEvents
EntityDuplicateFormTrait.php in src/Form/EntityDuplicateFormTrait.php
EntityDuplicateSubscriber.php in src/EventSubscriber/EntityDuplicateSubscriber.php

File

src/Event/EntityEvents.php, line 8

Namespace

Drupal\entity\Event
View source
final class EntityEvents {

  /**
   * Name of the event fired after saving a duplicated entity.
   *
   * @Event
   *
   * @see \Drupal\entity\Event\EntityDuplicateEvent
   */
  const ENTITY_DUPLICATE = 'entity.duplicate';

}

Members

Namesort descending Modifiers Type Description Overrides
EntityEvents::ENTITY_DUPLICATE constant Name of the event fired after saving a duplicated entity.