You are here

public function TestClass::onKernelRequestTest in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/service_provider_test/src/TestClass.php \Drupal\service_provider_test\TestClass::onKernelRequestTest()

A simple kernel listener method.

File

core/modules/system/tests/modules/service_provider_test/src/TestClass.php, line 43
Contains \Drupal\service_provider_test\TestClass.

Class

TestClass

Namespace

Drupal\service_provider_test

Code

public function onKernelRequestTest(GetResponseEvent $event) {
  drupal_set_message(t('The service_provider_test event subscriber fired!'));
}