You are here

public static function EventSubscriber::getSubscribedEvents in Opigno certificate 8

Same name and namespace in other branches
  1. 3.x src/EventSubscriber/EventSubscriber.php \Drupal\opigno_certificate\EventSubscriber\EventSubscriber::getSubscribedEvents()

File

src/EventSubscriber/EventSubscriber.php, line 69

Class

EventSubscriber
Class EventSubscriber.

Namespace

Drupal\opigno_certificate\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = [
    'requireDompdf',
  ];
  $events[PrintEvents::CONFIGURATION_ALTER] = [
    'alterConfiguration',
  ];
  return $events;
}