public function SiteConfigOverrides::getCacheableMetadata in Config override 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/
SiteConfigOverrides.php, line 98
Class
Namespace
Drupal\config_overrideCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}