function ConfigFactoryOverrideInterface::getCacheableMetadata
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigFactoryOverrideInterface.php \Drupal\Core\Config\ConfigFactoryOverrideInterface::getCacheableMetadata()
- 10 core/lib/Drupal/Core/Config/ConfigFactoryOverrideInterface.php \Drupal\Core\Config\ConfigFactoryOverrideInterface::getCacheableMetadata()
- 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.
8 methods override ConfigFactoryOverrideInterface::getCacheableMetadata()
- CacheabilityMetadataConfigOverride::getCacheableMetadata in core/
modules/ config/ tests/ config_override_integration_test/ src/ CacheabilityMetadataConfigOverride.php - ConfigOverride::getCacheableMetadata in core/
lib/ Drupal/ Core/ Installer/ ConfigOverride.php - ConfigOverrider::getCacheableMetadata in core/
modules/ config/ tests/ config_override_test/ src/ ConfigOverrider.php - ConfigOverrider::getCacheableMetadata in core/
modules/ config/ tests/ config_entity_static_cache_test/ src/ ConfigOverrider.php - 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.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigFactoryOverrideInterface.php, line 65
Class
- ConfigFactoryOverrideInterface
- Defines the interface for a configuration factory override object.
Namespace
Drupal\Core\ConfigCode
public function getCacheableMetadata($name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.