You are here

public function MailchimpCampaignSendForm::getConfirmText in Mailchimp 8

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

Class

MailchimpCampaignSendForm
Form controller for the MailchimpCampaign send campaign form.

Namespace

Drupal\mailchimp_campaign\Form

Code

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