You are here

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\sparkpost

Code

public function getCacheableMetadata($name) {
  return new CacheableMetadata();
}