You are here

function mailchimp_signup_create in Mailchimp 7.4

Same name and namespace in other branches
  1. 7.5 modules/mailchimp_signup/includes/mailchimp_signup.admin.inc \mailchimp_signup_create()
  2. 7.3 modules/mailchimp_signup/includes/mailchimp_signup.admin.inc \mailchimp_signup_create()

Create a new Mailchimp Signup object.

Parameters

array $values: Associative array of values.

Return value

MailchimpSignup New MailchimpSignup entity.

1 call to mailchimp_signup_create()
mailchimp_signup_form_submit in modules/mailchimp_signup/includes/mailchimp_signup.admin.inc
Submit handler for mailchimp_signup_form().

File

modules/mailchimp_signup/includes/mailchimp_signup.admin.inc, line 315
mailchimp_signup module admin settings.

Code

function mailchimp_signup_create(array $values = array()) {
  return entity_get_controller('mailchimp_signup')
    ->create($values);
}