You are here

public function EasyEmailRevisionDeleteForm::getConfirmText in Easy Email 8

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

Class

EasyEmailRevisionDeleteForm
Provides a form for deleting a Email revision.

Namespace

Drupal\easy_email\Form

Code

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