public function ContentTranslationDefaultsConfigOverride::getCacheableMetadata in Open Social 10.3.x
Same name in this branch
- 10.3.x modules/social_features/social_featured_content/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_featured_content\ContentTranslationDefaultsConfigOverride::getCacheableMetadata()
- 10.3.x modules/social_features/social_content_block/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_content_block\ContentTranslationDefaultsConfigOverride::getCacheableMetadata()
- 10.3.x modules/social_features/social_featured_items/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_featured_items\ContentTranslationDefaultsConfigOverride::getCacheableMetadata()
- 10.3.x modules/social_features/social_core/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_core\ContentTranslationDefaultsConfigOverride::getCacheableMetadata()
- 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_follow_taxonomy/ modules/ social_follow_landing_page/ src/ ContentTranslationDefaultsConfigOverride.php, line 80
Class
- ContentTranslationDefaultsConfigOverride
- Provides content translation for the Social Follow Landing Page module.
Namespace
Drupal\social_follow_landing_pageCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}