You are here

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

File

src/EventSubscriber/GetSettings/GetSettingsFromEnvVar.php, line 66

Class

GetSettingsFromEnvVar
Gets the ContentHub Server settings from environment variable.

Namespace

Drupal\acquia_contenthub\EventSubscriber\GetSettings

Code

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