public function NspiController::__construct in Acquia Connector 8.2
Same name and namespace in other branches
- 8 tests/modules/src/Controller/NspiController.php \Drupal\acquia_connector_test\Controller\NspiController::__construct()
- 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\ControllerCode
public function __construct() {
$this->acqtestSiteMachineName = \Drupal::state()
->get('acqtest_site_machine_name');
$this->acquiaHosted = \Drupal::state()
->get('acqtest_site_acquia_hosted');
}