You are here

public function SocialLazyLoadingTextFormatOverride::getCacheableMetadata in Open Social 8.8

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

Class

SocialLazyLoadingTextFormatOverride
Class SocialLazyLoadingTextFormatOverride.

Namespace

Drupal\social_lazy_loading

Code

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