You are here

public function EasyEmailRevisionRevertForm::getConfirmText in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Form/EasyEmailRevisionRevertForm.php \Drupal\easy_email\Form\EasyEmailRevisionRevertForm::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/EasyEmailRevisionRevertForm.php, line 89

Class

EasyEmailRevisionRevertForm
Provides a form for reverting a Email revision.

Namespace

Drupal\easy_email\Form

Code

public function getConfirmText() {
  return t('Revert');
}