You are here

public function TransactionExecuteForm::getConfirmText in Transaction 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/TransactionExecuteForm.php, line 74

Class

TransactionExecuteForm
Provides a form for transaction execution.

Namespace

Drupal\transaction\Form

Code

public function getConfirmText() {
  return $this
    ->t('Execute transaction');
}