function ConfigOverride::getCacheableMetadata
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
-
core/
lib/ Drupal/ Core/ Installer/ ConfigOverride.php, line 58
Class
- ConfigOverride
- Override configuration during the installer.
Namespace
Drupal\Core\InstallerCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.