protected function AcquiaContentHubSettingsCommands::getSettingsFromCoreConfig in Acquia Content Hub 8.2
Get settings from Drupal Configuration.
Return value
array Array of settings object and settings provider.
1 call to AcquiaContentHubSettingsCommands::getSettingsFromCoreConfig()
- AcquiaContentHubSettingsCommands::getContentHubSettings in src/
Commands/ AcquiaContentHubSettingsCommands.php - Get Content Hub settings.
File
- src/
Commands/ AcquiaContentHubSettingsCommands.php, line 122
Class
- AcquiaContentHubSettingsCommands
- Drush commands for getting the Settings used for Acquia Content Hub.
Namespace
Drupal\acquia_contenthub\CommandsCode
protected function getSettingsFromCoreConfig() : array {
$event = new AcquiaContentHubSettingsEvent();
$config_setter = new GetSettingsFromCoreConfig($this->configFactory);
$config_setter
->onGetSettings($event);
return $this
->returnSettings($event);
}