function ConfigFactoryOverrideInterface::getCacheableMetadata

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

8 methods override ConfigFactoryOverrideInterface::getCacheableMetadata()
CacheabilityMetadataConfigOverride::getCacheableMetadata in core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
Gets the cacheability metadata associated with the config factory override.
ConfigOverride::getCacheableMetadata in core/lib/Drupal/Core/Installer/ConfigOverride.php
Gets the cacheability metadata associated with the config factory override.
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.
ConfigOverrider::getCacheableMetadata in core/modules/config/tests/config_override_test/src/ConfigOverrider.php
Gets the cacheability metadata associated with the config factory override.
ConfigOverrider::getCacheableMetadata in core/modules/config/tests/config_entity_static_cache_test/src/ConfigOverrider.php
Gets the cacheability metadata associated with the config factory override.

... See full list

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);

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