You are here

protected function AcquiaContentHubSettingsCommands::getSettingsFromCoreSettings in Acquia Content Hub 8.2

Get settings from Drupal Core Settings.

Return value

array Array of settings object and settings provider.

1 call to AcquiaContentHubSettingsCommands::getSettingsFromCoreSettings()
AcquiaContentHubSettingsCommands::getContentHubSettings in src/Commands/AcquiaContentHubSettingsCommands.php
Get Content Hub settings.

File

src/Commands/AcquiaContentHubSettingsCommands.php, line 135

Class

AcquiaContentHubSettingsCommands
Drush commands for getting the Settings used for Acquia Content Hub.

Namespace

Drupal\acquia_contenthub\Commands

Code

protected function getSettingsFromCoreSettings() : array {
  $event = new AcquiaContentHubSettingsEvent();
  $core_settings_setter = new GetSettingsFromCoreSettings();
  $core_settings_setter
    ->onGetSettings($event);
  return $this
    ->returnSettings($event);
}