You are here

public function LingotekConfigFormBase::__construct in Lingotek Translation 8

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

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

Parameters

\Drupal\lingotek\LingotekInterface $lingotek:

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

Overrides ConfigFormBase::__construct

2 calls to LingotekConfigFormBase::__construct()
LingotekContentTranslationForm::__construct in src/Form/LingotekContentTranslationForm.php
Constructs a \Drupal\lingotek\Form\LingotekContentTranslationForm object.
LingotekSettingsTabUtilitiesForm::__construct in src/Form/LingotekSettingsTabUtilitiesForm.php
Constructs a \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm object.
3 methods override LingotekConfigFormBase::__construct()
LingotekContentTranslationForm::__construct in src/Form/LingotekContentTranslationForm.php
Constructs a \Drupal\lingotek\Form\LingotekContentTranslationForm object.
LingotekSettingsTabConfigurationForm::__construct in src/Form/LingotekSettingsTabConfigurationForm.php
Constructs a new LingotekManagementForm object.
LingotekSettingsTabUtilitiesForm::__construct in src/Form/LingotekSettingsTabUtilitiesForm.php
Constructs a \Drupal\lingotek\Form\LingotekSettingsTabUtilitiesForm object.

File

src/Form/LingotekConfigFormBase.php, line 27
Contains \Drupal\lingotek\Form\LingotekConfigFormBase.

Class

LingotekConfigFormBase
Configure Lingotek

Namespace

Drupal\lingotek\Form

Code

public function __construct(LingotekInterface $lingotek, ConfigFactoryInterface $config) {
  $this->lingotek = $lingotek;
  parent::__construct($config);
}