You are here

public function VariablesController::__construct in Acquia Connector 8

Same name and namespace in other branches
  1. 8.2 src/Controller/VariablesController.php \Drupal\acquia_connector\Controller\VariablesController::__construct()
  2. 3.x src/Controller/VariablesController.php \Drupal\acquia_connector\Controller\VariablesController::__construct()

Construction method.

File

src/Controller/VariablesController.php, line 33

Class

VariablesController
Class MappingController.

Namespace

Drupal\acquia_connector\Controller

Code

public function __construct() {
  $this->mapping = $this
    ->config('acquia_connector.settings')
    ->get('mapping');
}