You are here

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

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

Constructs a new LingotekManagementFormBase object.

Parameters

\Drupal\Core\Database\Connection $connection: The current database connection.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

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

\Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_configuration: The Lingotek configuration service.

\Drupal\lingotek\LanguageLocaleMapperInterface $language_locale_mapper: The language-locale mapper.

\Drupal\content_translation\ContentTranslationManagerInterface $content_translation_manager: The content translation manager.

\Drupal\lingotek\LingotekContentTranslationServiceInterface $translation_service: The Lingotek content translation service.

\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object.

\Drupal\Core\State\StateInterface $state:

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

string $entity_type_id: The entity type id.

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

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

2 calls to LingotekManagementFormBase::__construct()
LingotekJobManagementContentEntitiesForm::__construct in src/Form/LingotekJobManagementContentEntitiesForm.php
Constructs a new LingotekJobManagementContentEntitiesForm object.
LingotekManagementRelatedEntitiesForm::__construct in src/Form/LingotekManagementRelatedEntitiesForm.php
Constructs a new LingotekManagementRelatedEntitiesForm object.
2 methods override LingotekManagementFormBase::__construct()
LingotekJobManagementContentEntitiesForm::__construct in src/Form/LingotekJobManagementContentEntitiesForm.php
Constructs a new LingotekJobManagementContentEntitiesForm object.
LingotekManagementRelatedEntitiesForm::__construct in src/Form/LingotekManagementRelatedEntitiesForm.php
Constructs a new LingotekManagementRelatedEntitiesForm object.

File

src/Form/LingotekManagementFormBase.php, line 162

Class

LingotekManagementFormBase
Form for bulk management of content.

Namespace

Drupal\lingotek\Form

Code

public function __construct(Connection $connection, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager, LingotekInterface $lingotek, LingotekConfigurationServiceInterface $lingotek_configuration, LanguageLocaleMapperInterface $language_locale_mapper, ContentTranslationManagerInterface $content_translation_manager, LingotekContentTranslationServiceInterface $translation_service, PrivateTempStoreFactory $temp_store_factory, StateInterface $state, ModuleHandlerInterface $module_handler, $entity_type_id, EntityFieldManagerInterface $entity_field_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, LinkGeneratorInterface $link_generator) {
  $this->connection = $connection;
  $this->entityTypeManager = $entity_type_manager;
  $this->languageManager = $language_manager;
  $this->contentTranslationManager = $content_translation_manager;
  $this->lingotek = $lingotek;
  $this->translationService = $translation_service;
  $this->tempStoreFactory = $temp_store_factory;
  $this->lingotek = $lingotek;
  $this->lingotekConfiguration = $lingotek_configuration;
  $this->languageLocaleMapper = $language_locale_mapper;
  $this->state = $state;
  $this->moduleHandler = $module_handler;
  $this->entityTypeId = $entity_type_id;
  $this->entityFieldManager = $entity_field_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->linkGenerator = $link_generator;
}