You are here

public function ContentEntityInterface::hasTranslationChanges in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/ContentEntityInterface.php \Drupal\Core\Entity\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.

1 method overrides ContentEntityInterface::hasTranslationChanges()
ContentEntityBase::hasTranslationChanges in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Determines if the current translation of the entity has unsaved changes.

File

core/lib/Drupal/Core/Entity/ContentEntityInterface.php, line 39
Contains \Drupal\Core\Entity\ContentEntityInterface.

Class

ContentEntityInterface
Defines a common interface for all content entity objects.

Namespace

Drupal\Core\Entity

Code

public function hasTranslationChanges();