- Issue created by @alexpott
In
π
$entity->isDefaultTranslation() behaves incorrectly when changing default translation, causing file/image field usage to be set to zero, causing files to be deleted
Fixed
we added a deprecation if \Drupal\Core\TypedData\TranslatableInterface
does not have a setDefaultTranslationEnforced
method. We need to add it to the interface.
Add the method to the interface to 11.x before 11.0.0 is released and remove the deprecation.
Active
11.0 π₯