diff --cc core/lib/Drupal/Core/Entity/ContentEntityBase.php index 7c0a458,eb1a1b2..0000000 --- a/core/lib/Drupal/Core/Entity/ContentEntityBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityBase.php @@@ -16,22 -17,7 +16,22 @@@ use Drupal\Core\TypedData\TypedDataInte * * @ingroup entity_api */ - abstract class ContentEntityBase extends Entity implements \IteratorAggregate, ContentEntityInterface { -abstract class ContentEntityBase extends Entity implements \IteratorAggregate, ContentEntityInterface, TranslationStatusInterface, OriginalRevisionIdInterface { ++abstract class ContentEntityBase extends Entity implements \IteratorAggregate, ContentEntityInterface, OriginalRevisionIdInterface { + + /** + * Status code identifying a removed translation. + */ + const TRANSLATION_REMOVED = 0; + + /** + * Status code identifying an existing translation. + */ + const TRANSLATION_EXISTING = 1; + + /** + * Status code identifying a newly created translation. + */ + const TRANSLATION_CREATED = 2; /** * The plain data values of the contained fields.