class AcsfConfigRest in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 src/AcsfConfigRest.php \Drupal\acsf\AcsfConfigRest
Creates a config object using our REST API keys.
Hierarchy
- class \Drupal\acsf\AcsfConfig
- class \Drupal\acsf\AcsfConfigDefault
- class \Drupal\acsf\AcsfConfigRest
- class \Drupal\acsf\AcsfConfigDefault
Expanded class hierarchy of AcsfConfigRest
File
- src/
AcsfConfigRest.php, line 8
Namespace
Drupal\acsfView source
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'];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AcsfConfig:: |
protected | property | An optional Acquia Hosting environment. | |
AcsfConfig:: |
protected | property | An optional Acquia Hosting sitegroup. | |
AcsfConfig:: |
protected | property | The password of the remote service. | |
AcsfConfig:: |
protected | property | The optional source URL of the factory which our sites were staged from. | |
AcsfConfig:: |
protected | property | The URL of the remote service (factory). | |
AcsfConfig:: |
protected | property | The optional signup suffix of the Factory. See getUrlSuffix() for caveat. | |
AcsfConfig:: |
protected | property | The username of the remote service. | |
AcsfConfig:: |
public | function | Retrieves the config password. | |
AcsfConfig:: |
public | function | Retrieves the URL of the production factory. | |
AcsfConfig:: |
public | function | Retrieves the URL of the remote service (factory). | |
AcsfConfig:: |
public | function | Retrieves the domain suffix used for sites hosted on this ACSF environment. | |
AcsfConfig:: |
public | function | Retrieves the config username. | |
AcsfConfig:: |
public | function | Constructor. | |
AcsfConfigDefault:: |
protected static | property | Keep the values from the config file in a shared static cache. | |
AcsfConfigDefault:: |
protected | function | Implements AcsfConfig::loadConfig(). | |
AcsfConfigRest:: |
protected | function |
Implements AcsfConfig::loadConfig(). Overrides AcsfConfigDefault:: |