public function MailchimpListsSubscribeForm::setFieldInstance in Mailchimp 8
Same name and namespace in other branches
- 2.x modules/mailchimp_lists/src/Form/MailchimpListsSubscribeForm.php \Drupal\mailchimp_lists\Form\MailchimpListsSubscribeForm::setFieldInstance()
Sets the field instance service.
Parameters
\Drupal\mailchimp_lists\Plugin\Field\FieldType\MailchimpListsSubscription $fieldInstance: The field instance service.
File
- modules/
mailchimp_lists/ src/ Form/ MailchimpListsSubscribeForm.php, line 64
Class
- MailchimpListsSubscribeForm
- Subscribe to a Mailchimp list/audience.
Namespace
Drupal\mailchimp_lists\FormCode
public function setFieldInstance(MailchimpListsSubscription $fieldInstance) {
$this->fieldInstance = $fieldInstance;
}