function TranslatableInterface::hasTranslationChanges

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/TranslatableInterface.php \Drupal\Core\Entity\TranslatableInterface::hasTranslationChanges()
  2. 10 core/lib/Drupal/Core/Entity/TranslatableInterface.php \Drupal\Core\Entity\TranslatableInterface::hasTranslationChanges()
  3. 11.x core/lib/Drupal/Core/Entity/TranslatableInterface.php \Drupal\Core\Entity\TranslatableInterface::hasTranslationChanges()

Determines if the current translation of the entity has unsaved changes.

Return value

bool TRUE if the current translation of the entity has changes.

File

core/lib/Drupal/Core/Entity/TranslatableInterface.php, line 20

Class

TranslatableInterface
Provides methods for an entity to support translation.

Namespace

Drupal\Core\Entity

Code

public function hasTranslationChanges();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.