You are here

class EntityTranslationDeleteEvent in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityTranslationDeleteEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityTranslationDeleteEvent

Class EntityTranslationDeleteEvent.

Hierarchy

Expanded class hierarchy of EntityTranslationDeleteEvent

1 file declares its use of EntityTranslationDeleteEvent
core_event_dispatcher.module in modules/core_event_dispatcher/core_event_dispatcher.module
Core event dispatcher submodule.

File

modules/core_event_dispatcher/src/Event/Entity/EntityTranslationDeleteEvent.php, line 10

Namespace

Drupal\core_event_dispatcher\Event\Entity
View source
class EntityTranslationDeleteEvent extends AbstractEntityEvent {

  /**
   * {@inheritdoc}
   */
  public function getDispatcherType() : string {
    return HookEventDispatcherInterface::ENTITY_TRANSLATION_DELETE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractEntityEvent::$entity protected property The Entity.
AbstractEntityEvent::getEntity public function Get the Entity.
AbstractEntityEvent::__construct public function AbstractEntityEvent constructor. 4
EntityTranslationDeleteEvent::getDispatcherType public function Get the dispatcher type. Overrides EventInterface::getDispatcherType