Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Entity/ContentEntityInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | c2387f117808 |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Entity/ContentEntityInterface.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/lib/Drupal/Core/Entity/ContentEntityInterface.php Mon Apr 23 09:46:53 2018 +0100 @@ -2,8 +2,6 @@ namespace Drupal\Core\Entity; -use Drupal\Core\TypedData\TranslatableInterface; - /** * Defines a common interface for all content entity objects. * @@ -20,35 +18,7 @@ * * @ingroup entity_api */ -interface ContentEntityInterface extends \Traversable, FieldableEntityInterface, RevisionableInterface, TranslatableInterface { - - /** - * Determines if the current translation of the entity has unsaved changes. - * - * @return bool - * TRUE if the current translation of the entity has changes. - */ - public function hasTranslationChanges(); - - /** - * Marks the current revision translation as affected. - * - * @param bool|null $affected - * The flag value. A NULL value can be specified to reset the current value - * and make sure a new value will be computed by the system. - * - * @return $this - */ - public function setRevisionTranslationAffected($affected); - - /** - * Checks whether the current translation is affected by the current revision. - * - * @return bool - * TRUE if the entity object is affected by the current revision, FALSE - * otherwise. - */ - public function isRevisionTranslationAffected(); +interface ContentEntityInterface extends \Traversable, FieldableEntityInterface, TranslatableRevisionableInterface { /** * Gets the loaded Revision ID of the entity.