You are here

public function RestrictedNameProcessorOverride::getCacheableMetadata in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
  2. 8.8 modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
  3. 10.3.x modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
  4. 10.0.x modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
  5. 10.1.x modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
  6. 10.2.x modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::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_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php, line 61

Class

RestrictedNameProcessorOverride
Adds the Restricted Name field to our required processors.

Namespace

Drupal\social_profile_privacy

Code

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