3 namespace Drupal\content_translation;
6 * Interface providing support for content translation bundle settings.
8 interface BundleTranslationSettingsInterface {
11 * Returns translation settings for the specified bundle.
13 * @param string $entity_type_id
14 * The entity type identifier.
15 * @param string $bundle
19 * An associative array of values keyed by setting name.
21 public function getBundleTranslationSettings($entity_type_id, $bundle);
24 * Sets translation settings for the specified bundle.
26 * @param string $entity_type_id
27 * The entity type identifier.
28 * @param string $bundle
30 * @param array $settings
31 * An associative array of values keyed by setting name.
33 public function setBundleTranslationSettings($entity_type_id, $bundle, array $settings);