You are here

AcsfConfigRest.php in Acquia Cloud Site Factory Connector 8

Same filename and directory in other branches
  1. 8.2 src/AcsfConfigRest.php

Namespace

Drupal\acsf

File

src/AcsfConfigRest.php
View 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

Namesort descending Description
AcsfConfigRest Creates a config object using our REST API keys.