public function KeyConfigOverrides::getCacheableMetadata in Key 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/
KeyConfigOverrides.php, line 121
Class
- KeyConfigOverrides
- Provides key overrides for configuration.
Namespace
Drupal\keyCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}