You are here

protected function ContentTranslationDefaultsConfigOverride::getDisplayName in Open Social 10.3.x

Same name in this branch
  1. 10.3.x modules/social_features/social_landing_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_landing_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
  2. 10.3.x modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_page\ContentTranslationDefaultsConfigOverride::getDisplayName()
  3. 10.3.x modules/social_features/social_book/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_book\ContentTranslationDefaultsConfigOverride::getDisplayName()
  4. 10.3.x modules/social_features/social_topic/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_topic\ContentTranslationDefaultsConfigOverride::getDisplayName()
  5. 10.3.x modules/social_features/social_event/src/ContentTranslationDefaultsConfigOverride.php \Drupal\social_event\ContentTranslationDefaultsConfigOverride::getDisplayName()
  6. 10.3.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_topic/src/ContentTranslationDefaultsConfigOverride.php, line 27

Class

ContentTranslationDefaultsConfigOverride
Provides content translation defaults for the event content type.

Namespace

Drupal\social_topic

Code

protected function getDisplayName() {
  return $this
    ->t('Topics');
}