Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / lib / Drupal / Core / Entity / TranslatableInterface.php
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 }