Mercurial > hg > isophonics-drupal-site
annotate core/lib/Drupal/Core/Entity/TranslatableInterface.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
rev | line source |
---|---|
Chris@14 | 1 <?php |
Chris@14 | 2 |
Chris@14 | 3 namespace Drupal\Core\Entity; |
Chris@14 | 4 |
Chris@14 | 5 use Drupal\Core\TypedData\TranslatableInterface as TranslatableDataInterface; |
Chris@14 | 6 |
Chris@14 | 7 /** |
Chris@14 | 8 * Provides methods for an entity to support translation. |
Chris@14 | 9 */ |
Chris@18 | 10 interface TranslatableInterface extends TranslatableDataInterface, EntityInterface { |
Chris@14 | 11 |
Chris@14 | 12 /** |
Chris@14 | 13 * Determines if the current translation of the entity has unsaved changes. |
Chris@14 | 14 * |
Chris@14 | 15 * @return bool |
Chris@14 | 16 * TRUE if the current translation of the entity has changes. |
Chris@14 | 17 */ |
Chris@14 | 18 public function hasTranslationChanges(); |
Chris@14 | 19 |
Chris@14 | 20 } |