comparison core/lib/Drupal/Core/Entity/TranslatableInterface.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children 12f9dff5fda9
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
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 }