You are here

public static function EventSubscriber::getSubscribedEvents in Opigno certificate 3.x

Same name and namespace in other branches
  1. 8 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;
}