You are here

public function BaseTmgmtActionApproveForm::getConfirmText in TMGMT Extension Suite 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

1 call to BaseTmgmtActionApproveForm::getConfirmText()
BaseTmgmtActionApproveForm::submitForm in src/Form/BaseTmgmtActionApproveForm.php
Form submission handler.
4 methods override BaseTmgmtActionApproveForm::getConfirmText()
CancelTmgmtActionApproveForm::getConfirmText in src/Form/CancelTmgmtActionApproveForm.php
Returns a caption for the button that confirms the action.
ClearJobItemsDataTmgmtActionApproveForm::getConfirmText in src/Form/ClearJobItemsDataTmgmtActionApproveForm.php
Returns a caption for the button that confirms the action.
DeleteTmgmtActionApproveForm::getConfirmText in src/Form/DeleteTmgmtActionApproveForm.php
Returns a caption for the button that confirms the action.
DownloadTmgmtActionApproveForm::getConfirmText in src/Form/DownloadTmgmtActionApproveForm.php
Returns a caption for the button that confirms the action.

File

src/Form/BaseTmgmtActionApproveForm.php, line 136

Class

BaseTmgmtActionApproveForm
Provides a confirmation form for sending multiple content entities.

Namespace

Drupal\tmgmt_extension_suit\Form

Code

public function getConfirmText() {
  return $this
    ->t('Send for Translation');
}