You are here

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

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

Constructs a new LingotekConfigurationService object.

Parameters

\Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_config: The Lingotek Configuration service.

File

src/Form/LingotekFieldConfigEditForm.php, line 34

Class

LingotekFieldConfigEditForm
Allow to configure fields translation with Lingotek in the proper field forms

Namespace

Drupal\lingotek\Form

Code

public function __construct(LingotekConfigurationServiceInterface $lingotek_config) {
  $this->lingotekConfig = $lingotek_config;
}