public function SocialPostPhotoAlbumConfigOverride::getCacheableMetadata in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_post/modules/social_post_album/src/SocialPostPhotoAlbumConfigOverride.php \Drupal\social_post_album\SocialPostPhotoAlbumConfigOverride::getCacheableMetadata()
- 10.0.x modules/social_features/social_post/modules/social_post_album/src/SocialPostPhotoAlbumConfigOverride.php \Drupal\social_post_album\SocialPostPhotoAlbumConfigOverride::getCacheableMetadata()
- 10.2.x modules/social_features/social_post/modules/social_post_album/src/SocialPostPhotoAlbumConfigOverride.php \Drupal\social_post_album\SocialPostPhotoAlbumConfigOverride::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_post/ modules/ social_post_album/ src/ SocialPostPhotoAlbumConfigOverride.php, line 49
Class
- SocialPostPhotoAlbumConfigOverride
- Provides an overridden elements.
Namespace
Drupal\social_post_albumCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}