public function MailchimpConfigOverrider::getCacheableMetadata in Mailchimp 8
Same name and namespace in other branches
- 2.x 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_testCode
public function getCacheableMetadata($name) {
// Not required for test case config.
return NULL;
}