You are here

public function SendContextActionApproveForm::__construct in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/SendContextActionApproveForm.php \Drupal\tmgmt_smartling\Form\SendContextActionApproveForm::__construct()
  2. 8 src/Form/SendContextActionApproveForm.php \Drupal\tmgmt_smartling\Form\SendContextActionApproveForm::__construct()
  3. 8.2 src/Form/SendContextActionApproveForm.php \Drupal\tmgmt_smartling\Form\SendContextActionApproveForm::__construct()

Constructs a new UserMultipleCancelConfirm.

Parameters

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The temp store factory.

\Drupal\user\SharedTempStoreFactory $shared_store_factory:

\Drupal\tmgmt_smartling\Context\ContextUserAuth $context_user_auth:

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

\Drupal\Core\Language\LanguageManagerInterface $language_manager: Language manager service.

\Drupal\Core\Queue\QueueInterface $queue: The upload queue.

File

src/Form/SendContextActionApproveForm.php, line 98

Class

SendContextActionApproveForm
Provides a confirmation form for sending multiple content entities.

Namespace

Drupal\tmgmt_smartling\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, SharedTempStoreFactory $shared_store_factory, ContextUserAuth $context_user_auth, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager, QueueInterface $queue) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->sharedStoreFactory = $shared_store_factory;
  $this->contextUserAuth = $context_user_auth;
  $this->entityTypeManager = $entity_type_manager;
  $this->languageManager = $language_manager;
  $this->queue = $queue;
}