You are here

public function MailchimpCampaignDeleteForm::getDescription in Mailchimp 2.x

Same name and namespace in other branches
  1. 8 modules/mailchimp_campaign/src/Form/MailchimpCampaignDeleteForm.php \Drupal\mailchimp_campaign\Form\MailchimpCampaignDeleteForm::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides EntityConfirmFormBase::getDescription

File

modules/mailchimp_campaign/src/Form/MailchimpCampaignDeleteForm.php, line 55

Class

MailchimpCampaignDeleteForm
Form controller for the MailchimpCampaign entity delete form.

Namespace

Drupal\mailchimp_campaign\Form

Code

public function getDescription() {
  return $this
    ->t('This action will delete both the Mailchimp campaign and Drupal entity and cannot be undone.');
}