Change record status: 
Project: 
Introduced in branch: 
8.5.x
Introduced in version: 
8.5.0
Description: 

Before this change all the methods concerning revision translation were defined by ContentEntityInterface and ContentEntityStorageInterface. Now these methods were moved to the following dedicated interfaces:

  • ContentEntityInterface::hasTranslationChanges\Drupal\Core\Entity\TranslatableInterface::hasTranslationChanges
  • ContentEntityInterface::setRevisionTranslationAffectedTranslatableRevisionableInterface::setRevisionTranslationAffected
  • ContentEntityInterface::isRevisionTranslationAffectedTranslatableRevisionableInterface::isRevisionTranslationAffected
  • ContentEntityInterface::isRevisionTranslationAffectedEnforcedTranslatableRevisionableInterface::isRevisionTranslationAffectedEnforced
  • ContentEntityInterface::setRevisionTranslationAffectedEnforcedTranslatableRevisionableInterface::setRevisionTranslationAffectedEnforced
  • ContentEntityStorageInterface::createTranslationTranslatableStorageInterface::createTranslation

Additionally ContentEntityStorageInterface now extends TranslatableRevisionableStorageInterface.

Impacts: 
Site builders, administrators, editors