class MailchimpCampaignConfigOverrider 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
Tests module overrides for configuration.
Hierarchy
- class \Drupal\Core\Config\ConfigFactoryOverrideBase implements \Symfony\Component\EventDispatcher\EventSubscriberInterface
- class \Drupal\mailchimp_test\MailchimpConfigOverrider implements ConfigFactoryOverrideInterface
- class \Drupal\mailchimp_campaign_test\MailchimpCampaignConfigOverrider
- class \Drupal\mailchimp_test\MailchimpConfigOverrider implements ConfigFactoryOverrideInterface
Expanded class hierarchy of MailchimpCampaignConfigOverrider
1 file declares its use of MailchimpCampaignConfigOverrider
- MailchimpCampaignTestBase.php in tests/
src/ Functional/ MailchimpCampaignTestBase.php
File
- modules/
mailchimp_campaign/ tests/ modules/ mailchimp_campaign_test/ src/ MailchimpCampaignConfigOverrider.php, line 10
Namespace
Drupal\mailchimp_campaign_testView source
class MailchimpCampaignConfigOverrider extends MailchimpConfigOverrider {
/**
* {@inheritdoc}
*/
public function loadOverrides($names) {
$overrides = parent::loadOverrides($names);
$overrides['mailchimp.settings']['test_mode'] = TRUE;
return $overrides;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigFactoryOverrideBase:: |
protected | function | Filters data in nested arrays. | |
ConfigFactoryOverrideBase:: |
protected | function | Filters data in the override based on what is currently in configuration. | |
ConfigFactoryOverrideBase:: |
public static | function | Returns an array of event names this subscriber wants to listen to. | |
MailchimpCampaignConfigOverrider:: |
public | function |
Returns config overrides. Overrides MailchimpConfigOverrider:: |
|
MailchimpConfigOverrider:: |
public | function |
Reacts to the ConfigEvents::COLLECTION_INFO event. Overrides ConfigFactoryOverrideBase:: |
|
MailchimpConfigOverrider:: |
public | function |
Creates a configuration object for use during install and synchronization. Overrides ConfigFactoryOverrideInterface:: |
|
MailchimpConfigOverrider:: |
public | function |
Gets the cacheability metadata associated with the config factory override. Overrides ConfigFactoryOverrideInterface:: |
|
MailchimpConfigOverrider:: |
public | function |
The string to append to the configuration static cache name. Overrides ConfigFactoryOverrideInterface:: |
|
MailchimpConfigOverrider:: |
public | function |
Actions to be performed to configuration override on configuration delete. Overrides ConfigFactoryOverrideBase:: |
|
MailchimpConfigOverrider:: |
public | function |
Actions to be performed to configuration override on configuration rename. Overrides ConfigFactoryOverrideBase:: |
|
MailchimpConfigOverrider:: |
public | function |
Actions to be performed to configuration override on configuration save. Overrides ConfigFactoryOverrideBase:: |