function BundleTranslationSettingsInterface::setBundleTranslationSettings

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

Sets translation settings for the specified bundle.

Parameters

string $entity_type_id: The entity type identifier.

string $bundle: The bundle name.

array $settings: An associative array of values keyed by setting name.

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

File

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

Class

BundleTranslationSettingsInterface
Interface providing support for content translation bundle settings.

Namespace

Drupal\content_translation

Code

public function setBundleTranslationSettings($entity_type_id, $bundle, array $settings);

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