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

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

namespace Drupal\core_event_dispatcher\Event\Entity;

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

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

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

}

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

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