public function RestrictedNameProcessorOverride::getCacheableMetadata in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
- 8.7 modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
- 8.8 modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
- 10.3.x modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
- 10.0.x modules/social_features/social_profile/modules/social_profile_privacy/src/RestrictedNameProcessorOverride.php \Drupal\social_profile_privacy\RestrictedNameProcessorOverride::getCacheableMetadata()
- 10.1.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 62
Class
- RestrictedNameProcessorOverride
- Adds the Restricted Name field to our required processors.
Namespace
Drupal\social_profile_privacyCode
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}