function 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 20
Class
- TranslatableInterface
- Provides methods for an entity to support translation.
Namespace
Drupal\Core\EntityCode
public function hasTranslationChanges();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.