eca-1.0.x-dev/src/Event/BaseHookHandler.php

src/Event/BaseHookHandler.php
<?php

namespace Drupal\eca\Event;

/**
 * Base class for all HookHandlers of sub-modules.
 */
abstract class BaseHookHandler {

  /**
   * The service for triggering ECA-related events.
   *
   * @var \Drupal\eca\Event\TriggerEvent
   */
  protected TriggerEvent $triggerEvent;

  /**
   * The HookHandler constructor.
   *
   * @param \Drupal\eca\Event\TriggerEvent $trigger_event
   *   The service for triggering ECA-related events.
   */
  public function __construct(TriggerEvent $trigger_event) {
    $this->triggerEvent = $trigger_event;
  }

}

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

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