You are here

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

Same name and namespace in other branches
  1. 10.0.x modules/social_features/social_post/modules/social_post_album/src/SocialPostPhotoAlbumConfigOverride.php \Drupal\social_post_album\SocialPostPhotoAlbumConfigOverride::getCacheableMetadata()
  2. 10.1.x modules/social_features/social_post/modules/social_post_album/src/SocialPostPhotoAlbumConfigOverride.php \Drupal\social_post_album\SocialPostPhotoAlbumConfigOverride::getCacheableMetadata()
  3. 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_album

Code

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