You are here

public function MailchimpListsConfigOverrider::loadOverrides in Mailchimp 8

Same name and namespace in other branches
  1. 2.x modules/mailchimp_lists/tests/modules/mailchimp_lists_test/src/MailchimpListsConfigOverrider.php \Drupal\mailchimp_lists_test\MailchimpListsConfigOverrider::loadOverrides()

Returns config overrides.

Parameters

array $names: A list of configuration names that are being loaded.

Return value

array An array keyed by configuration name of override data. Override data contains a nested array structure of overrides.

Overrides MailchimpConfigOverrider::loadOverrides

File

modules/mailchimp_lists/tests/modules/mailchimp_lists_test/src/MailchimpListsConfigOverrider.php, line 15

Class

MailchimpListsConfigOverrider
Tests module overrides for configuration.

Namespace

Drupal\mailchimp_lists_test

Code

public function loadOverrides($names) {
  $overrides = parent::loadOverrides($names);
  $overrides['mailchimp.settings']['test_mode'] = TRUE;
  return $overrides;
}