You are here

public static function ConfigRebuildRoutes::getSubscribedEvents in Acquia Content Hub 8

File

src/EventSubscriber/ConfigRebuildRoutes.php, line 61

Class

ConfigRebuildRoutes
A subscriber to rebuild routes whenever there is a change in configuration.

Namespace

Drupal\acquia_contenthub\EventSubscriber

Code

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