function BundleTranslationSettingsInterface::getBundleTranslationSettings

Same name and namespace in other branches
  1. 8.9.x core/modules/content_translation/src/BundleTranslationSettingsInterface.php \Drupal\content_translation\BundleTranslationSettingsInterface::getBundleTranslationSettings()
  2. 10 core/modules/content_translation/src/BundleTranslationSettingsInterface.php \Drupal\content_translation\BundleTranslationSettingsInterface::getBundleTranslationSettings()
  3. 11.x core/modules/content_translation/src/BundleTranslationSettingsInterface.php \Drupal\content_translation\BundleTranslationSettingsInterface::getBundleTranslationSettings()

Returns translation settings for the specified bundle.

Parameters

string $entity_type_id: The entity type identifier.

string $bundle: The bundle name.

Return value

array An associative array of values keyed by setting name.

1 method overrides BundleTranslationSettingsInterface::getBundleTranslationSettings()
ContentTranslationManager::getBundleTranslationSettings in core/modules/content_translation/src/ContentTranslationManager.php
Returns translation settings for the specified bundle.

File

core/modules/content_translation/src/BundleTranslationSettingsInterface.php, line 21

Class

BundleTranslationSettingsInterface
Interface providing support for content translation bundle settings.

Namespace

Drupal\content_translation

Code

public function getBundleTranslationSettings($entity_type_id, $bundle);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.