You are here

public function ConfigOverride::getCacheableMetadata in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\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\Installer

Code

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