You are here

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

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

Constructs a LingotekSettingsTabAccountForm object.

Parameters

\Drupal\lingotek\LingotekInterface $lingotek: The Lingotek service.

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

\Drupal\lingotek\LingotekFilterManagerInterface $lingotek_filter_manager: The Lingotek Filter manager.

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

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

Overrides LingotekConfigFormBase::__construct

File

src/Form/LingotekSettingsTabAccountForm.php, line 42

Class

LingotekSettingsTabAccountForm
Configure Lingotek

Namespace

Drupal\lingotek\Form

Code

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