You are here

public function ConfigFactoryOverrideInterface::getCacheableMetadata in Drupal 10

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

Class

ConfigFactoryOverrideInterface
Defines the interface for a configuration factory override object.

Namespace

Drupal\Core\Config

Code

public function getCacheableMetadata($name);