You are here

public function MailchimpConfigOverrider::getCacheableMetadata in Mailchimp 2.x

Same name and namespace in other branches
  1. 8 tests/modules/mailchimp_test/src/MailchimpConfigOverrider.php \Drupal\mailchimp_test\MailchimpConfigOverrider::getCacheableMetadata()

Gets the cacheability metadata associated with the config factory override.

Parameters

string $name: The name of the configuration override to get metadata for.

Return value

\Drupal\Core\Cache\CacheableMetadata A cacheable metadata object.

Overrides ConfigFactoryOverrideInterface::getCacheableMetadata

File

tests/modules/mailchimp_test/src/MailchimpConfigOverrider.php, line 50

Class

MailchimpConfigOverrider
Tests module overrides for configuration.

Namespace

Drupal\mailchimp_test

Code

public function getCacheableMetadata($name) {

  // Not required for test case config.
  return NULL;
}