mailjet-8.x-2.7/src/EventSubscriber/InitSubscriber.php

src/EventSubscriber/InitSubscriber.php
<?php

namespace Drupal\mailjet\EventSubscriber;

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\KernelEvents;

/**
 *
 * @package Drupal\mailjet\EventSubscriber
 */
class InitSubscriber implements EventSubscriberInterface
{

  /**
   * {@inheritdoc}
   */
  public static function getSubscribedEvents(): array {
    return [KernelEvents::REQUEST => ['onEvent', 0]];
  }//end getSubscribedEvents()

  /**
   * {@inheritdoc}
   */
  public function onEvent() {
  }//end onEvent()

}//end class

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

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