protected function ContentTranslationDefaultsConfigOverride::getDisplayName in Open Social 10.3.x
Same name in this branch
- 10.3.x modules/social_features/social_landing_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_landing_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.3.x modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.3.x modules/social_features/social_book/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_book\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.3.x modules/social_features/social_topic/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_topic\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.3.x modules/social_features/social_event/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_event\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.3.x modules/social_features/social_group/modules/social_group_flexible_group/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_group_flexible_group\ContentTranslationDefaultsConfigOverride::getDisplayName()
Same name and namespace in other branches
- 10.2.x modules/social_features/social_group/modules/social_group_flexible_group/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_group_flexible_group\ContentTranslationDefaultsConfigOverride::getDisplayName()
Returns the display name for this set of configuration overrides.
This can be used in a user interface to let sitemanagers determine which parts of Open Social should be translatable. For consistency when displaying this should always be a plural string.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup|string The (translatable) string that can be shown to the user.
Overrides ContentTranslationConfigOverrideBase::getDisplayName
File
- modules/
social_features/ social_group/ modules/ social_group_flexible_group/ src/ ContentTranslationDefaultsConfigOverride.php, line 27
Class
- ContentTranslationDefaultsConfigOverride
- Provides content translation defaults for the flexible group type.
Namespace
Drupal\social_group_flexible_groupCode
protected function getDisplayName() {
// We can't use dependency injection here because it causes a circular
// dependency for the configuration override.
return $this
->t('Flexible group');
}