You are here

public static function NewRelicConfigSubscriber::getSubscribedEvents in New Relic 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/NewRelicConfigSubscriber.php \Drupal\new_relic_rpm\EventSubscriber\NewRelicConfigSubscriber::getSubscribedEvents()
  2. 2.0.x src/EventSubscriber/NewRelicConfigSubscriber.php \Drupal\new_relic_rpm\EventSubscriber\NewRelicConfigSubscriber::getSubscribedEvents()

File

src/EventSubscriber/NewRelicConfigSubscriber.php, line 60

Class

NewRelicConfigSubscriber
Config event listener to mark deployments when a user imports configuration.

Namespace

Drupal\new_relic_rpm\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::IMPORT][] = [
    'onImport',
  ];
  return $events;
}