You are here

public function MailchimpSignupDeleteForm::getConfirmText in Mailchimp 8

Same name and namespace in other branches
  1. 2.x modules/mailchimp_signup/src/Form/MailchimpSignupDeleteForm.php \Drupal\mailchimp_signup\Form\MailchimpSignupDeleteForm::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/mailchimp_signup/src/Form/MailchimpSignupDeleteForm.php, line 73

Class

MailchimpSignupDeleteForm
Form controller for the MailchimpSignup entity delete form.

Namespace

Drupal\mailchimp_signup\Form

Code

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