You are here

public function CancelTmgmtActionApproveForm::getConfirmText in TMGMT Extension Suite 8.2

Same name and namespace in other branches
  1. 8.3 src/Form/CancelTmgmtActionApproveForm.php \Drupal\tmgmt_extension_suit\Form\CancelTmgmtActionApproveForm::getConfirmText()
  2. 8 src/Form/CancelTmgmtActionApproveForm.php \Drupal\tmgmt_extension_suit\Form\CancelTmgmtActionApproveForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/CancelTmgmtActionApproveForm.php, line 30

Class

CancelTmgmtActionApproveForm
Provides a confirmation form for sending multiple content entities.

Namespace

Drupal\tmgmt_extension_suit\Form

Code

public function getConfirmText() {
  return $this
    ->t('Cancel Jobs');
}