You are here

public function SocialPostPhotoConfigOverride::getCacheableMetadata in Open Social 8.2

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  2. 8 modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  3. 8.3 modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  4. 8.4 modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  5. 8.5 modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  6. 8.6 modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  7. 8.7 modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  8. 8.8 modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  9. 10.3.x modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  10. 10.0.x modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  11. 10.1.x modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::getCacheableMetadata()
  12. 10.2.x modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php \Drupal\social_post_photo\SocialPostPhotoConfigOverride::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_photo/src/SocialPostPhotoConfigOverride.php, line 107

Class

SocialPostPhotoConfigOverride
Example configuration override.

Namespace

Drupal\social_post_photo

Code

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