You are here

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

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

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

Parameters

\Drupal\lingotek\LingotekInterface $lingotek:

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Routing\RouteBuilderInterface $router_builder: The router builder service.

\Drupal\Core\Cache\CacheBackendInterface $render_cache:

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

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

Overrides LingotekConfigFormBase::__construct

File

src/Form/LingotekSettingsTabIntegrationsForm.php, line 57

Class

LingotekSettingsTabIntegrationsForm
Configure integration modules settings for Lingotek.

Namespace

Drupal\lingotek\Form

Code

public function __construct(LingotekInterface $lingotek, ConfigFactoryInterface $config, ModuleHandlerInterface $module_handler, RouteBuilderInterface $router_builder, CacheBackendInterface $render_cache, UrlGeneratorInterface $url_generator = NULL, LinkGeneratorInterface $link_generator = NULL) {
  parent::__construct($lingotek, $config, $url_generator, $link_generator);
  $this->moduleHandler = $module_handler;
  $this->routerBuilder = $router_builder;
  $this->renderCache = $render_cache;
}