You are here

function mailchimp_lists_save in Mailchimp 7.2

Saves a list.

@MailchimpList $list The full list object to save.

Return value

MailchimpList The saved list object.

5 calls to mailchimp_lists_save()
MailchimpListsBasicTestCase::setListsCron in modules/mailchimp_lists/tests/mailchimp_lists.test
Helper function to set the Cron setting on the test lists.
MailchimpListsBasicTestCase::setUp in modules/mailchimp_lists/tests/mailchimp_lists.test
Pre-test setup function.
MailchimpListsBasicTestCase::testMailchimpListSubscriptionWorkflow in modules/mailchimp_lists/tests/mailchimp_lists.test
Tests subscription workflows.
mailchimp_lists_install in modules/mailchimp_lists/mailchimp_lists.install
Implements hook_install().
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 1157
Mailchimp lists module.

Code

function mailchimp_lists_save(MailchimpList $list) {
  return $list
    ->save();
}