You are here

public function HostsSetterController::__construct in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 8.2 tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  2. 3.0.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  3. 3.1.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  4. 3.2.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  5. 3.3.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  6. 3.4.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  7. 3.5.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  8. 3.6.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  9. 3.7.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()
  10. 3.8.x tests/modules/lingotek_test/src/Controller/HostsSetterController.php \Drupal\lingotek_test\Controller\HostsSetterController::__construct()

Constructs the HostsSetterController object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

tests/modules/lingotek_test/src/Controller/HostsSetterController.php, line 28

Class

HostsSetterController
Controller for pointing up the host and sandbox in config to the local site.

Namespace

Drupal\lingotek_test\Controller

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}