Mercurial > hg > isophonics-drupal-site
annotate 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 |
rev | line source |
---|---|
Chris@14 | 1 <?php |
Chris@14 | 2 |
Chris@14 | 3 namespace Drupal\content_translation; |
Chris@14 | 4 |
Chris@14 | 5 /** |
Chris@14 | 6 * Interface providing support for content translation bundle settings. |
Chris@14 | 7 */ |
Chris@14 | 8 interface BundleTranslationSettingsInterface { |
Chris@14 | 9 |
Chris@14 | 10 /** |
Chris@14 | 11 * Returns translation settings for the specified bundle. |
Chris@14 | 12 * |
Chris@14 | 13 * @param string $entity_type_id |
Chris@14 | 14 * The entity type identifier. |
Chris@14 | 15 * @param string $bundle |
Chris@14 | 16 * The bundle name. |
Chris@14 | 17 * |
Chris@14 | 18 * @return array |
Chris@14 | 19 * An associative array of values keyed by setting name. |
Chris@14 | 20 */ |
Chris@14 | 21 public function getBundleTranslationSettings($entity_type_id, $bundle); |
Chris@14 | 22 |
Chris@14 | 23 /** |
Chris@14 | 24 * Sets translation settings for the specified bundle. |
Chris@14 | 25 * |
Chris@14 | 26 * @param string $entity_type_id |
Chris@14 | 27 * The entity type identifier. |
Chris@14 | 28 * @param string $bundle |
Chris@14 | 29 * The bundle name. |
Chris@14 | 30 * @param array $settings |
Chris@14 | 31 * An associative array of values keyed by setting name. |
Chris@14 | 32 */ |
Chris@14 | 33 public function setBundleTranslationSettings($entity_type_id, $bundle, array $settings); |
Chris@14 | 34 |
Chris@14 | 35 } |