You are here

public function ExpenseRevisionRevertForm::getConfirmText in Drupal PM (Project Management) 4.x

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

modules/pm_expense/src/Form/ExpenseRevisionRevertForm.php, line 75

Class

ExpenseRevisionRevertForm
Provides a form for reverting a Expense revision.

Namespace

Drupal\pm_expense\Form

Code

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