You are here

EntityPredeleteEvent.php in Hook Event Dispatcher 3.x

File

modules/core_event_dispatcher/src/Event/Entity/EntityPredeleteEvent.php
View source
<?php

namespace Drupal\core_event_dispatcher\Event\Entity;

use Drupal\hook_event_dispatcher\HookEventDispatcherInterface;

/**
 * Class EntityPredeleteEvent.
 */
class EntityPredeleteEvent extends AbstractEntityEvent {

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

}

Classes

Namesort descending Description
EntityPredeleteEvent Class EntityPredeleteEvent.