function mailchimp_list_create in Mailchimp 7.2
Create a new Mailchimp List object.
Parameters
array $values: Associative array of values. At least include array('type' => $type)
Return value
MailchimpList New MailchimpList entity.
2 calls to mailchimp_list_create()
- MailchimpListsBasicTestCase::testLists in modules/
mailchimp_lists/ tests/ mailchimp_lists.test - Return an array of lists keyed by machine name to use in testing.
- mailchimp_lists_list_form_submit in modules/
mailchimp_lists/ includes/ mailchimp_lists.admin.inc - Submit handler for mailchimp_lists_list_form().
File
- modules/
mailchimp_lists/ mailchimp_lists.module, line 1170 - Mailchimp lists module.
Code
function mailchimp_list_create(array $values = array()) {
return entity_get_controller('mailchimp_list')
->create($values);
}