annotate core/lib/Drupal/Core/Entity/TranslatableInterface.php @ 15:e200cb7efeb3

Update Drupal core to 8.5.3 via Composer
author Chris Cannam
date Thu, 26 Apr 2018 11:26:54 +0100
parents 1fec387a4317
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 }