function ConfigFactoryOverrideInterface::getCacheableMetadata

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

2 methods override ConfigFactoryOverrideInterface::getCacheableMetadata()
ConfigOverrider::getCacheableMetadata in core/modules/settings_tray/tests/modules/settings_tray_override_test/src/ConfigOverrider.php
Gets the cacheability metadata associated with the config factory override.
LanguageConfigFactoryOverride::getCacheableMetadata in core/modules/language/src/Config/LanguageConfigFactoryOverride.php
Gets the cacheability metadata associated with the config factory override.

File

core/lib/Drupal/Core/Config/ConfigFactoryOverrideInterface.php, line 75

Class

ConfigFactoryOverrideInterface
Defines the interface for a configuration factory override object.

Namespace

Drupal\Core\Config

Code

public function getCacheableMetadata($name);

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