public function TestMailSystemOverride::getCacheableMetadata in Sparkpost email 8.2
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
- src/
TestMailSystemOverride.php, line 41
Class
- TestMailSystemOverride
- Example configuration override.
Namespace
Drupal\sparkpostCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}