You are here

abstract protected function ContentTranslationConfigOverrideBase::getDisplayName in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getDisplayName()
  2. 8.5 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getDisplayName()
  3. 8.6 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getDisplayName()
  4. 8.7 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getDisplayName()
  5. 8.8 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getDisplayName()
  6. 10.3.x modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getDisplayName()
  7. 10.0.x modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getDisplayName()
  8. 10.1.x modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getDisplayName()
  9. 10.2.x modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::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.

4 methods override ContentTranslationConfigOverrideBase::getDisplayName()
ContentTranslationDefaultsConfigOverride::getDisplayName in modules/social_features/social_landing_page/src/ContentTranslationDefaultsConfigOverride.php
Returns the display name for this set of configuration overrides.
ContentTranslationDefaultsConfigOverride::getDisplayName in modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php
Returns the display name for this set of configuration overrides.
ContentTranslationDefaultsConfigOverride::getDisplayName in modules/social_features/social_book/src/ContentTranslationDefaultsConfigOverride.php
Returns the display name for this set of configuration overrides.
ContentTranslationDefaultsConfigOverride::getDisplayName in modules/social_features/social_event/src/ContentTranslationDefaultsConfigOverride.php
Returns the display name for this set of configuration overrides.

File

modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php, line 49

Class

ContentTranslationConfigOverrideBase
Provides a base class for configurable content translation config overrides.

Namespace

Drupal\social_core

Code

protected abstract function getDisplayName();