function ConfigOverride::getCacheableMetadata

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\ConfigOverride::getCacheableMetadata()
  2. 10 core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\ConfigOverride::getCacheableMetadata()
  3. 11.x 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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.