You are here

public function ContentTranslationDefaultsConfigOverride::getCacheableMetadata in Open Social 10.3.x

Same name in this branch
  1. 10.3.x modules/social_features/social_featured_content/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_featured_content\ContentTranslationDefaultsConfigOverride::getCacheableMetadata()
  2. 10.3.x modules/social_features/social_content_block/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_content_block\ContentTranslationDefaultsConfigOverride::getCacheableMetadata()
  3. 10.3.x modules/social_features/social_featured_items/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_featured_items\ContentTranslationDefaultsConfigOverride::getCacheableMetadata()
  4. 10.3.x modules/social_features/social_core/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_core\ContentTranslationDefaultsConfigOverride::getCacheableMetadata()
  5. 10.3.x modules/social_features/social_follow_taxonomy/modules/social_follow_landing_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_follow_landing_page\ContentTranslationDefaultsConfigOverride::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

modules/social_features/social_core/src/ContentTranslationDefaultsConfigOverride.php, line 130

Class

ContentTranslationDefaultsConfigOverride
Provides content translation for the Social Core module.

Namespace

Drupal\social_core

Code

public function getCacheableMetadata($name) {
  return new CacheableMetadata();
}