You are here

public function NspiController::__construct in Acquia Connector 8.2

Same name and namespace in other branches
  1. 8 tests/modules/src/Controller/NspiController.php \Drupal\acquia_connector_test\Controller\NspiController::__construct()
  2. 3.x tests/modules/src/Controller/NspiController.php \Drupal\acquia_connector_test\Controller\NspiController::__construct()

Construction method.

File

tests/modules/src/Controller/NspiController.php, line 61

Class

NspiController
Class NspiController.

Namespace

Drupal\acquia_connector_test\Controller

Code

public function __construct() {
  $this->acqtestSiteMachineName = \Drupal::state()
    ->get('acqtest_site_machine_name');
  $this->acquiaHosted = \Drupal::state()
    ->get('acqtest_site_acquia_hosted');
}