You are here

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

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_content_block/modules/social_content_block_landing_page/src/SocialContentBlockLandingPageConfigOverride.php \Drupal\social_content_block_landing_page\SocialContentBlockLandingPageConfigOverride::getCacheableMetadata()
  2. 10.0.x modules/social_features/social_content_block/modules/social_content_block_landing_page/src/SocialContentBlockLandingPageConfigOverride.php \Drupal\social_content_block_landing_page\SocialContentBlockLandingPageConfigOverride::getCacheableMetadata()
  3. 10.1.x modules/social_features/social_content_block/modules/social_content_block_landing_page/src/SocialContentBlockLandingPageConfigOverride.php \Drupal\social_content_block_landing_page\SocialContentBlockLandingPageConfigOverride::getCacheableMetadata()
  4. 10.2.x modules/social_features/social_content_block/modules/social_content_block_landing_page/src/SocialContentBlockLandingPageConfigOverride.php \Drupal\social_content_block_landing_page\SocialContentBlockLandingPageConfigOverride::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_content_block/modules/social_content_block_landing_page/src/SocialContentBlockLandingPageConfigOverride.php, line 80

Class

SocialContentBlockLandingPageConfigOverride
Class SocialContentBlockLandingPageConfigOverride.

Namespace

Drupal\social_content_block_landing_page

Code

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