Mercurial > hg > isophonics-drupal-site
view core/modules/content_translation/src/BundleTranslationSettingsInterface.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 1fec387a4317 |
children |
line wrap: on
line source
<?php namespace Drupal\content_translation; /** * Interface providing support for content translation bundle settings. */ interface BundleTranslationSettingsInterface { /** * Returns translation settings for the specified bundle. * * @param string $entity_type_id * The entity type identifier. * @param string $bundle * The bundle name. * * @return array * An associative array of values keyed by setting name. */ public function getBundleTranslationSettings($entity_type_id, $bundle); /** * Sets translation settings for the specified bundle. * * @param string $entity_type_id * The entity type identifier. * @param string $bundle * The bundle name. * @param array $settings * An associative array of values keyed by setting name. */ public function setBundleTranslationSettings($entity_type_id, $bundle, array $settings); }