public function MailchimpCampaignDeleteForm::getConfirmText in Mailchimp 2.x
Same name and namespace in other branches
- 8 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\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}