You are here

public function EasyEmailTypeDeleteForm::getConfirmText in Easy Email 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/EasyEmailTypeDeleteForm.php \Drupal\easy_email\Form\EasyEmailTypeDeleteForm::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

src/Form/EasyEmailTypeDeleteForm.php, line 31

Class

EasyEmailTypeDeleteForm
Builds the form to delete Email type entities.

Namespace

Drupal\easy_email\Form

Code

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