You are here

public function BundleTranslationSettingsInterface::setBundleTranslationSettings in Drupal 9

Same name and namespace in other branches
  1. 8 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);