You are here

class MailchimpListsConfigOverrider 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

Tests module overrides for configuration.

Hierarchy

Expanded class hierarchy of MailchimpListsConfigOverrider

1 file declares its use of MailchimpListsConfigOverrider
MailchimpListsTestBase.php in tests/src/Functional/MailchimpListsTestBase.php

File

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

Namespace

Drupal\mailchimp_lists_test
View source
class MailchimpListsConfigOverrider extends MailchimpConfigOverrider {

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

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigFactoryOverrideBase::filterNestedArray protected function Filters data in nested arrays.
ConfigFactoryOverrideBase::filterOverride protected function Filters data in the override based on what is currently in configuration.
ConfigFactoryOverrideBase::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to.
MailchimpConfigOverrider::addCollections public function Reacts to the ConfigEvents::COLLECTION_INFO event. Overrides ConfigFactoryOverrideBase::addCollections
MailchimpConfigOverrider::createConfigObject public function Creates a configuration object for use during install and synchronization. Overrides ConfigFactoryOverrideInterface::createConfigObject
MailchimpConfigOverrider::getCacheableMetadata public function Gets the cacheability metadata associated with the config factory override. Overrides ConfigFactoryOverrideInterface::getCacheableMetadata
MailchimpConfigOverrider::getCacheSuffix public function The string to append to the configuration static cache name. Overrides ConfigFactoryOverrideInterface::getCacheSuffix
MailchimpConfigOverrider::onConfigDelete public function Actions to be performed to configuration override on configuration delete. Overrides ConfigFactoryOverrideBase::onConfigDelete
MailchimpConfigOverrider::onConfigRename public function Actions to be performed to configuration override on configuration rename. Overrides ConfigFactoryOverrideBase::onConfigRename
MailchimpConfigOverrider::onConfigSave public function Actions to be performed to configuration override on configuration save. Overrides ConfigFactoryOverrideBase::onConfigSave
MailchimpListsConfigOverrider::loadOverrides public function Returns config overrides. Overrides MailchimpConfigOverrider::loadOverrides