You are here

public function MailchimpSignupForm::configureInterestGroups in Mailchimp 8

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

AJAX callback handler for the interest groups.

File

modules/mailchimp_signup/src/Form/MailchimpSignupForm.php, line 376

Class

MailchimpSignupForm
Form controller for the MailchimpSignup entity edit form.

Namespace

Drupal\mailchimp_signup\Form

Code

public function configureInterestGroups(array &$form, FormStateInterface $form_state) {
  return $form['subscription_settings']['groups_container'];
}