You are here

public function LingotekConfigFormBase::__construct in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8 src/Form/LingotekConfigFormBase.php \Drupal\lingotek\Form\LingotekConfigFormBase::__construct()
  2. 8.2 src/Form/LingotekConfigFormBase.php \Drupal\lingotek\Form\LingotekConfigFormBase::__construct()
  3. 4.0.x src/Form/LingotekConfigFormBase.php \Drupal\lingotek\Form\LingotekConfigFormBase::__construct()
  4. 3.0.x src/Form/LingotekConfigFormBase.php \Drupal\lingotek\Form\LingotekConfigFormBase::__construct()
  5. 3.1.x src/Form/LingotekConfigFormBase.php \Drupal\lingotek\Form\LingotekConfigFormBase::__construct()
  6. 3.2.x src/Form/LingotekConfigFormBase.php \Drupal\lingotek\Form\LingotekConfigFormBase::__construct()
  7. 3.3.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: The lingotek service.

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

\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The url generator.

\Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The link generator.

Overrides ConfigFormBase::__construct

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

File

src/Form/LingotekConfigFormBase.php, line 48

Class

LingotekConfigFormBase
Configure Lingotek

Namespace

Drupal\lingotek\Form

Code

public function __construct(LingotekInterface $lingotek, ConfigFactoryInterface $config, UrlGeneratorInterface $url_generator, LinkGeneratorInterface $link_generator) {
  parent::__construct($config);
  $this->lingotek = $lingotek;
  $this->urlGenerator = $url_generator;
  $this->linkGenerator = $link_generator;
}