You are here

public function MailingListDeleteConfirmForm::getConfirmText in Mailing List 8

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/MailingListDeleteConfirmForm.php, line 83

Class

MailingListDeleteConfirmForm
Builds the form to delete mailing list entities.

Namespace

Drupal\mailing_list\Form

Code

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