You are here

public static function ChainedFastBackendFactory::getSubscribedEvents in Supercache 8

Same name and namespace in other branches
  1. 2.0.x src/Cache/ChainedFastBackendFactory.php \Drupal\supercache\Cache\ChainedFastBackendFactory::getSubscribedEvents()

File

src/Cache/ChainedFastBackendFactory.php, line 134
Contains \Drupal\supercache\Cache\ChainedFastBackendFactory.

Class

ChainedFastBackendFactory
Defines the chained fast cache backend factory.

Namespace

Drupal\supercache\Cache

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::TERMINATE][] = array(
    'onKernelTerminate',
    -100,
  );
  return $events;
}