AcsfConfigRest.php in Acquia Cloud Site Factory Connector 8.2
Same filename and directory in other branches
Namespace
Drupal\acsfFile
src/AcsfConfigRest.phpView source
<?php
namespace Drupal\acsf;
/**
* Creates a config object using our REST API keys.
*/
class AcsfConfigRest extends AcsfConfigDefault {
/**
* Implements AcsfConfig::loadConfig().
*/
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'];
}
}
Classes
Name | Description |
---|---|
AcsfConfigRest | Creates a config object using our REST API keys. |