You are here

public function MailchimpCampaignDeleteForm::getConfirmText in Mailchimp 8

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

Class

MailchimpCampaignDeleteForm
Form controller for the MailchimpCampaign entity delete form.

Namespace

Drupal\mailchimp_campaign\Form

Code

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