You are here

public function ContentTranslationManager::getBundleTranslationSettings in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/src/ContentTranslationManager.php \Drupal\content_translation\ContentTranslationManager::getBundleTranslationSettings()
  2. 9 core/modules/content_translation/src/ContentTranslationManager.php \Drupal\content_translation\ContentTranslationManager::getBundleTranslationSettings()

File

core/modules/content_translation/src/ContentTranslationManager.php, line 120

Class

ContentTranslationManager
Provides common functionality for content translation.

Namespace

Drupal\content_translation

Code

public function getBundleTranslationSettings($entity_type_id, $bundle) {
  $config = $this
    ->loadContentLanguageSettings($entity_type_id, $bundle);
  return $config
    ->getThirdPartySetting('content_translation', 'bundle_settings', []);
}