You are here

public function EmailOverrideDeleteForm::getConfirmText in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x modules/easy_email_override/src/Form/EmailOverrideDeleteForm.php \Drupal\easy_email_override\Form\EmailOverrideDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

modules/easy_email_override/src/Form/EmailOverrideDeleteForm.php, line 31

Class

EmailOverrideDeleteForm
Builds the form to delete Email Override entities.

Namespace

Drupal\easy_email_override\Form

Code

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