You are here

public function LingotekAccountDisconnectForm::__construct in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  2. 4.0.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  3. 3.0.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  4. 3.1.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  5. 3.2.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  6. 3.3.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  7. 3.4.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  8. 3.5.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  9. 3.6.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  10. 3.7.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()
  11. 3.8.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::__construct()

Constructs a \Drupal\lingotek\Form\LingotekAccountDisconnect object.

Parameters

\Drupal\lingotek\LingotekInterface $lingotek:

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

File

src/Form/LingotekAccountDisconnectForm.php, line 38
Contains \Drupal\lingotek\Form\LingotekAccountDisconnect.

Class

LingotekAccountDisconnectForm
Provides a form to disconnect from Lingotek.

Namespace

Drupal\lingotek\Form

Code

public function __construct(LingotekInterface $lingotek, ConfigFactoryInterface $config_factory) {
  $this->lingotek = $lingotek;
  $this
    ->setConfigFactory($config_factory);
}