protected function ContentTranslationDefaultsConfigOverride::getDisplayName in Open Social 10.2.x
Same name in this branch
- 10.2.x modules/social_features/social_landing_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_landing_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.2.x modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.2.x modules/social_features/social_book/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_book\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.2.x modules/social_features/social_event/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_event\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.2.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
- 8.9 modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 8.4 modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 8.5 modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 8.6 modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 8.7 modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 8.8 modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.3.x modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.0.x modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
- 10.1.x modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\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_page/ src/ ContentTranslationDefaultsConfigOverride.php, line 24
Class
- ContentTranslationDefaultsConfigOverride
- Provides content translation defaults for the basic page content type.
Namespace
Drupal\social_pageCode
protected function getDisplayName() {
// We can't use dependency injection here because it causes a circular
// dependency for the configuration override.
return \Drupal::translation()
->translate('Pages');
}