You are here

public static function GetSettingsFromCoreSettings::getSubscribedEvents in Acquia Content Hub 8.2

File

src/EventSubscriber/GetSettings/GetSettingsFromCoreSettings.php, line 19

Class

GetSettingsFromCoreSettings
Gets the ContentHub Server settings from Drupal's settings.

Namespace

Drupal\acquia_contenthub\EventSubscriber\GetSettings

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::GET_SETTINGS][] = [
    'onGetSettings',
    1000,
  ];
  return $events;
}