protected function AcsfConfigRest::loadConfig in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 src/AcsfConfigRest.php \Drupal\acsf\AcsfConfigRest::loadConfig()
Implements AcsfConfig::loadConfig().
Overrides AcsfConfigDefault::loadConfig
File
- src/
AcsfConfigRest.php, line 13
Class
- AcsfConfigRest
- Creates a config object using our REST API keys.
Namespace
Drupal\acsfCode
protected function loadConfig() {
parent::loadConfig();
$this->username = $GLOBALS['gardens_site_settings']['conf']['acsf_site_id'];
$this->password = $GLOBALS['gardens_site_settings']['conf']['site_api_key'];
}