public function LingotekJobAssignToMultipleConfigForm::__construct in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8.2 src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 4.0.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 3.0.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 3.1.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 3.2.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 3.4.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 3.5.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 3.6.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 3.7.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
- 3.8.x src/Form/LingotekJobAssignToMultipleConfigForm.php \Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm::__construct()
Constructs a new LingotekJobAssignToMultipleConfigForm object.
Parameters
\Drupal\Core\Session\AccountInterface $current_user: The current user.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
\Drupal\lingotek\LingotekConfigTranslationServiceInterface $translation_service: The Lingotek config translation service.
\Drupal\config_translation\ConfigMapperInterface[] $mappers: The configuration mappers.
File
- src/
Form/ LingotekJobAssignToMultipleConfigForm.php, line 98
Class
- LingotekJobAssignToMultipleConfigForm
- Form for bulk assignation of Job ID to config entities.
Namespace
Drupal\lingotek\FormCode
public function __construct(AccountInterface $current_user, EntityTypeManagerInterface $entity_type_manager, PrivateTempStoreFactory $temp_store_factory, MessengerInterface $messenger, LingotekConfigTranslationServiceInterface $translation_service, array $mappers) {
$this->currentUser = $current_user;
$this->entityTypeManager = $entity_type_manager;
$this->tempStore = $temp_store_factory
->get('lingotek_assign_job_config_multiple_confirm');
$this->messenger = $messenger;
$this->translationService = $translation_service;
$this->mappers = $mappers;
}