You are here

public function MailchimpCampaignConfigOverrider::loadOverrides in Mailchimp 2.x

Same name and namespace in other branches
  1. 8 modules/mailchimp_campaign/tests/modules/mailchimp_campaign_test/src/MailchimpCampaignConfigOverrider.php \Drupal\mailchimp_campaign_test\MailchimpCampaignConfigOverrider::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_campaign/tests/modules/mailchimp_campaign_test/src/MailchimpCampaignConfigOverrider.php, line 15

Class

MailchimpCampaignConfigOverrider
Tests module overrides for configuration.

Namespace

Drupal\mailchimp_campaign_test

Code

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