You are here

abstract protected function ContentTranslationConfigOverrideBase::getTranslationOverrides in Open Social 10.3.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()
  2. 8.4 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()
  3. 8.5 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()
  4. 8.6 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()
  5. 8.7 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()
  6. 8.8 modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()
  7. 10.0.x modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()
  8. 10.1.x modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()
  9. 10.2.x modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php \Drupal\social_core\ContentTranslationConfigOverrideBase::getTranslationOverrides()

Returns the configuration override for this module's translations.

By making this a separate method it can easily be overwritten in child classes without having to duplicate the logic of whether it should be invoked.

Return value

array An array keyed by configuration name with the override as value.

2 calls to ContentTranslationConfigOverrideBase::getTranslationOverrides()
ContentTranslationConfigOverrideBase::getOverriddenConfigurations in modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php
Returns the configurations that are overridden in this class.
ContentTranslationConfigOverrideBase::loadOverrides in modules/social_features/social_core/src/ContentTranslationConfigOverrideBase.php
Returns config overrides.
6 methods override ContentTranslationConfigOverrideBase::getTranslationOverrides()
ContentTranslationDefaultsConfigOverride::getTranslationOverrides in modules/social_features/social_landing_page/src/ContentTranslationDefaultsConfigOverride.php
Returns the configuration override for this module's translations.
ContentTranslationDefaultsConfigOverride::getTranslationOverrides in modules/social_features/social_page/src/ContentTranslationDefaultsConfigOverride.php
Returns the configuration override for this module's translations.
ContentTranslationDefaultsConfigOverride::getTranslationOverrides in modules/social_features/social_book/src/ContentTranslationDefaultsConfigOverride.php
Returns the configuration override for this module's translations.
ContentTranslationDefaultsConfigOverride::getTranslationOverrides in modules/social_features/social_topic/src/ContentTranslationDefaultsConfigOverride.php
Returns the configuration override for this module's translations.
ContentTranslationDefaultsConfigOverride::getTranslationOverrides in modules/social_features/social_event/src/ContentTranslationDefaultsConfigOverride.php
Returns the configuration override for this module's translations.

... See full list

File

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

Class

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

Namespace

Drupal\social_core

Code

protected abstract function getTranslationOverrides();