You are here

public function EmailDeleteForm::getConfirmText in Courier 8

Same name and namespace in other branches
  1. 2.x src/Form/EmailDeleteForm.php \Drupal\courier\Form\EmailDeleteForm::getConfirmText()

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/EmailDeleteForm.php, line 34
Contains \Drupal\courier\Form\EmailDeleteForm.

Class

EmailDeleteForm
Form for deleting an email.

Namespace

Drupal\courier\Form

Code

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