You are here

public function RequestTranslationApproveForm::__construct in TMGMT Extension Suite 8

RequestTranslationApproveForm constructor.

Parameters

\Drupal\user\PrivateTempStoreFactory $temp_store_factory:

\Drupal\tmgmt\TranslatorManager $translator_manager:

File

src/Form/RequestTranslationApproveForm.php, line 47

Class

RequestTranslationApproveForm

Namespace

Drupal\tmgmt_extension_suit\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, TranslatorManager $translator_manager) {
  $this->tempStore = $temp_store_factory
    ->get('tmgmt_extension_suit');
  $this->translatorManager = $translator_manager;
}