You are here

public static function MockHeaderSubscriber::getSubscribedEvents in Akamai 8.3

File

tests/src/Kernel/MockHeaderSubscriber.php, line 16

Class

MockHeaderSubscriber
Mock Event Subscriber for testing.

Namespace

Drupal\Tests\akamai\Kernel

Code

public static function getSubscribedEvents() {
  $events[AkamaiHeaderEvents::HEADER_CREATION][] = [
    'onHeaderCreation',
  ];
  return $events;
}