hook_event_dispatcher-8.x-2.04/modules/core_event_dispatcher/src/Event/Entity/EntityDeleteEvent.php

modules/core_event_dispatcher/src/Event/Entity/EntityDeleteEvent.php
<?php

namespace Drupal\core_event_dispatcher\Event\Entity;

use Drupal\core_event_dispatcher\EntityHookEvents;
use Drupal\hook_event_dispatcher\Attribute\HookEvent;

/**
 * Class EntityDeleteEvent.
 */
#[HookEvent(id: 'entity_delete', hook: 'entity_delete')]
class EntityDeleteEvent extends AbstractEntityEvent {

  /**
   * {@inheritdoc}
   */
  public function getDispatcherType(): string {
    return EntityHookEvents::ENTITY_DELETE;
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc