TranslatableInterface.php 477 B

1234567891011121314151617181920
  1. <?php
  2. namespace Drupal\Core\Entity;
  3. use Drupal\Core\TypedData\TranslatableInterface as TranslatableDataInterface;
  4. /**
  5. * Provides methods for an entity to support translation.
  6. */
  7. interface TranslatableInterface extends TranslatableDataInterface {
  8. /**
  9. * Determines if the current translation of the entity has unsaved changes.
  10. *
  11. * @return bool
  12. * TRUE if the current translation of the entity has changes.
  13. */
  14. public function hasTranslationChanges();
  15. }