Mercurial > hg > isophonics-drupal-site
annotate core/lib/Drupal/Core/Entity/TranslatableInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children | af1871eacc83 |
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@14 | 10 interface TranslatableInterface extends TranslatableDataInterface { |
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 } |