public function MailchimpCampaignConfigOverrider::loadOverrides in Mailchimp 8
Same name and namespace in other branches
- 2.x 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_testCode
public function loadOverrides($names) {
$overrides = parent::loadOverrides($names);
$overrides['mailchimp.settings']['test_mode'] = TRUE;
return $overrides;
}