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\Entity

Code

public function hasTranslationChanges();
doc_Drupal
2016-10-29 08:57:21
Comments
Leave a Comment

Please login to continue.