public static function PreviewSettings::getSubscribedEvents in Acquia Content Hub 8.2
File
- modules/
acquia_contenthub_preview/ src/ EventSubscriber/ PreviewSettings.php, line 36
Class
- PreviewSettings
- Gets the ContentHub Server settings from configuration.
Namespace
Drupal\acquia_contenthub_preview\EventSubscriberCode
public static function getSubscribedEvents() {
$events[AcquiaContentHubEvents::GET_SETTINGS][] = [
'onGetSettings',
10001,
];
return $events;
}