interface BundleTranslationSettingsInterface (View source)

Interface providing support for content translation bundle settings.

Methods

array
getBundleTranslationSettings(string $entity_type_id, string $bundle)

Returns translation settings for the specified bundle.

setBundleTranslationSettings(string $entity_type_id, string $bundle, array $settings)

Sets translation settings for the specified bundle.

Details

array getBundleTranslationSettings(string $entity_type_id, string $bundle)

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.

setBundleTranslationSettings(string $entity_type_id, string $bundle, array $settings)

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.