You are here

protected function MailChimpTest::loadLists in Mailchimp 7.2

Loads list values, initializing if necessary.

Return value

array Stored lists.

6 calls to MailChimpTest::loadLists()
MailChimpTest::listMemberInfo in tests/mailchimp_tests.inc
Get the details of an email address's settings in a particular list.
MailChimpTest::listMergeVars in tests/mailchimp_tests.inc
Get the mergevars for a list.
MailChimpTest::lists in tests/mailchimp_tests.inc
Load lists.
MailChimpTest::listSubscribe in tests/mailchimp_tests.inc
Subscribe a user to a list.
MailChimpTest::listUnsubscribe in tests/mailchimp_tests.inc
Unsubscribe a user from a list.

... See full list

File

tests/mailchimp_tests.inc, line 196
A virtual MailChimp API implementation for use in testing.

Class

MailChimpTest
@file A virtual MailChimp API implementation for use in testing.

Code

protected function loadLists() {
  $list_data = variable_get('mailchimp_test_list_data', $this
    ->defaultLists());
  return $list_data;
}