You are here

public function DomainConfigOverride::getCacheableMetadata in Domain Site Settings 8

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/Configuration/DomainConfigOverride.php, line 82

Class

DomainConfigOverride
Overrides the config with the saved domain specific settings.

Namespace

Drupal\domain_site_settings\Configuration

Code

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