Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\Core\Entity; | |
4 | |
5 use Drupal\Core\TypedData\TranslatableInterface as TranslatableDataInterface; | |
6 | |
7 /** | |
8 * Provides methods for an entity to support translation. | |
9 */ | |
10 interface TranslatableInterface extends TranslatableDataInterface { | |
11 | |
12 /** | |
13 * Determines if the current translation of the entity has unsaved changes. | |
14 * | |
15 * @return bool | |
16 * TRUE if the current translation of the entity has changes. | |
17 */ | |
18 public function hasTranslationChanges(); | |
19 | |
20 } |