public function ContentEntityInterface::hasTranslationChanges
public ContentEntityInterface::hasTranslationChanges()
Determines if the current translation of the entity has unsaved changes.
If the entity is translatable only translatable fields will be checked for changes.
Return value
bool TRUE if the current translation of the entity has changes.
File
- core/lib/Drupal/Core/Entity/ContentEntityInterface.php, line 34
Class
- ContentEntityInterface
- Defines a common interface for all content entity objects.
Namespace
Drupal\Core\EntityCode
public function hasTranslationChanges();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityInterface.php/function/ContentEntityInterface::hasTranslationChanges/8.1.x