function DrupalKernelRequestStackTest::getSubscribedEvents

Same name and namespace in other branches
  1. main core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php \Drupal\KernelTests\Core\DrupalKernel\DrupalKernelRequestStackTest::getSubscribedEvents()

File

core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php, line 180

Class

DrupalKernelRequestStackTest
Tests the usage of the request stack as part of request processing.

Namespace

Drupal\KernelTests\Core\DrupalKernel

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.