You are here

public function TranslatableInterface::hasTranslationChanges in Drupal 9

Same name and namespace in other branches
  1. 8 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.

1 method overrides TranslatableInterface::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/TranslatableInterface.php, line 18

Class

TranslatableInterface
Provides methods for an entity to support translation.

Namespace

Drupal\Core\Entity

Code

public function hasTranslationChanges();