You are here

protected function MailChimp_ListsTest::loadLists in Mailchimp 7.3

Loads list values, initializing if necessary.

Return value

array Stored lists.

12 calls to MailChimp_ListsTest::loadLists()
MailChimp_ListsTest::getList in tests/mailchimp_lists_test.inc
MailChimp_ListsTest::memberInfo in tests/mailchimp_lists_test.inc
MailChimp_ListsTest::mergeVars in tests/mailchimp_lists_test.inc
MailChimp_ListsTest::segmentAdd in tests/mailchimp_lists_test.inc
MailChimp_ListsTest::segments in tests/mailchimp_lists_test.inc

... See full list

File

tests/mailchimp_lists_test.inc, line 358
A virtual MailChimp Lists API implementation for use in testing.

Class

MailChimp_ListsTest

Code

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