protected function ClientFactory::populateSettings in Acquia Content Hub 8.2
Call the event to populate contenthub settings.
1 call to ClientFactory::populateSettings()
- ClientFactory::__construct in src/
Client/ ClientFactory.php - ClientManagerFactory constructor.
File
- src/
Client/ ClientFactory.php, line 114
Class
- ClientFactory
- Instantiates an Acquia ContentHub Client object.
Namespace
Drupal\acquia_contenthub\ClientCode
protected function populateSettings() {
$event = new AcquiaContentHubSettingsEvent();
$this->dispatcher
->dispatch(AcquiaContentHubEvents::GET_SETTINGS, $event);
$this->settings = $event
->getSettings();
$this->settingsProvider = $event
->getProvider();
}