You are here

public function LingotekSettingsTabUtilitiesForm::__construct in Lingotek Translation 3.3.x

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

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

Parameters

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

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

\Drupal\Core\State\StateInterface $state: The state key/value store.

\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The route builder service.

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

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

Overrides LingotekConfigFormBase::__construct

File

src/Form/LingotekSettingsTabUtilitiesForm.php, line 47

Class

LingotekSettingsTabUtilitiesForm
Tab for running Lingotek utilities in the settings page.

Namespace

Drupal\lingotek\Form

Code

public function __construct(LingotekInterface $lingotek, ConfigFactoryInterface $config, StateInterface $state, RouteBuilderInterface $route_builder, UrlGeneratorInterface $url_generator = NULL, LinkGeneratorInterface $link_generator = NULL) {
  parent::__construct($lingotek, $config, $url_generator, $link_generator);
  $this->state = $state;
  $this->routeBuilder = $route_builder;
}