You are here

static function HabitatSubscriber::getSubscribedEvents in Habitat 8

File

src/EventSubscriber/HabitatSubscriber.php, line 55
Contains \Drupal\habitat\EventSubscriber\HabitatSubscriber.

Class

HabitatSubscriber

Namespace

Drupal\habitat\EventSubscriber

Code

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