You are here

public function SocialLazyLoadingImageDisplayOverride::getCacheableMetadata in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::getCacheableMetadata()
  2. 8.6 modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::getCacheableMetadata()
  3. 8.7 modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::getCacheableMetadata()
  4. 10.3.x modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::getCacheableMetadata()
  5. 10.0.x modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::getCacheableMetadata()
  6. 10.1.x modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::getCacheableMetadata()
  7. 10.2.x modules/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php \Drupal\social_lazy_loading_images\SocialLazyLoadingImageDisplayOverride::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/custom/social_lazy_loading/social_lazy_loading_images/src/SocialLazyLoadingImageDisplayOverride.php, line 79

Class

SocialLazyLoadingImageDisplayOverride
Class SocialLazyLoadingTextFormatOverride.

Namespace

Drupal\social_lazy_loading_images

Code

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