You are here

public function MailchimpSignupPageForm::setSignup in Mailchimp 8

Same name and namespace in other branches
  1. 2.x modules/mailchimp_signup/src/Form/MailchimpSignupPageForm.php \Drupal\mailchimp_signup\Form\MailchimpSignupPageForm::setSignup()

Sets the signup service.

Parameters

\Drupal\mailchimp_signup\Entity\MailchimpSignup $signup: THe signup service.

File

modules/mailchimp_signup/src/Form/MailchimpSignupPageForm.php, line 77

Class

MailchimpSignupPageForm
Subscribe to a Mailchimp list/audience.

Namespace

Drupal\mailchimp_signup\Form

Code

public function setSignup(MailchimpSignup $signup) {
  $this->signup = $signup;
}