static function TestClass::getSubscribedEvents

Registers methods as kernel listeners.

Return value

array An array of event listener definitions.

Overrides EventSubscriberInterface::getSubscribedEvents

File

drupal/core/modules/system/tests/modules/bundle_test/lib/Drupal/bundle_test/TestClass.php, line 29
Definition of Drupal\bundle_test\TestClass.

Class

TestClass

Namespace

Drupal\bundle_test

Code

static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = array(
    'onKernelRequestTest',
    100,
  );
  return $events;
}