You are here

MailchimpListsConfigOverrider.php in Mailchimp 8

File

modules/mailchimp_lists/tests/modules/mailchimp_lists_test/src/MailchimpListsConfigOverrider.php
View source
<?php

namespace Drupal\mailchimp_lists_test;

use Drupal\mailchimp_test\MailchimpConfigOverrider;

/**
 * Tests module overrides for configuration.
 */
class MailchimpListsConfigOverrider extends MailchimpConfigOverrider {

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

}

Classes

Namesort descending Description
MailchimpListsConfigOverrider Tests module overrides for configuration.