You are here

public static function WebformEntityPrintRequestSubscriber::getSubscribedEvents in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_entity_print/src/EventSubscriber/WebformEntityPrintRequestSubscriber.php \Drupal\webform_entity_print\EventSubscriber\WebformEntityPrintRequestSubscriber::getSubscribedEvents()

File

modules/webform_entity_print/src/EventSubscriber/WebformEntityPrintRequestSubscriber.php, line 58

Class

WebformEntityPrintRequestSubscriber
Event subscriber to alter requests.

Namespace

Drupal\webform_entity_print\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    KernelEvents::REQUEST => 'requestSetViewMode',
  ];
}