You are here

public function MailchimpListsSubscribeForm::setFormId in Mailchimp 8

Same name and namespace in other branches
  1. 2.x modules/mailchimp_lists/src/Form/MailchimpListsSubscribeForm.php \Drupal\mailchimp_lists\Form\MailchimpListsSubscribeForm::setFormId()

Sets the form ID.

Parameters

string $formId: The form ID.

File

modules/mailchimp_lists/src/Form/MailchimpListsSubscribeForm.php, line 54

Class

MailchimpListsSubscribeForm
Subscribe to a Mailchimp list/audience.

Namespace

Drupal\mailchimp_lists\Form

Code

public function setFormId($formId) {
  $this->formId = $formId;
}