You are here

public function RequestTranslationTmgmtActionApproveForm::__construct in TMGMT Extension Suite 8.2

Same name and namespace in other branches
  1. 8.3 src/Form/RequestTranslationTmgmtActionApproveForm.php \Drupal\tmgmt_extension_suit\Form\RequestTranslationTmgmtActionApproveForm::__construct()

Constructs a new UserMultipleCancelConfirm.

Parameters

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

\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.

\Drupal\Core\Config\ImmutableConfig $config: Immutable config instance that contains settings.

\Drupal\tmgmt\JobCheckoutManager $checkout_manager:

\Drupal\tmgmt\JobQueue $job_queue:

Overrides BaseTmgmtActionApproveForm::__construct

File

src/Form/RequestTranslationTmgmtActionApproveForm.php, line 50

Class

RequestTranslationTmgmtActionApproveForm
Provides a confirmation form for sending multiple content entities.

Namespace

Drupal\tmgmt_extension_suit\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager, QueueInterface $queue, ImmutableConfig $config, JobCheckoutManager $checkout_manager, JobQueue $job_queue) {
  parent::__construct($temp_store_factory, $entity_type_manager, $language_manager, $queue, $config);
  $this->checkoutManager = $checkout_manager;
  $this->jobQueue = $job_queue;
}