- πΊπΈUnited States SocialNicheGuru
#21 missed a piece of #8.
#8 is the one to use - π¨πSwitzerland berdir Switzerland
#20/#21 doesn't make sense, setOwner() isn't return a field that can be set. if the entity implements the necessary interface. Instead it needs to use that field if it exists, and otherwise call setOwner(). See also π Content Translation should use EntityPublishedInterface or the 'published' entity key to determine if it needs to add its 'content_translation_status' field Needs review on BC concerns, this will have an impact on defined field storages.
- π¨πSwitzerland berdir Switzerland
Also, the problem with this approach is that we lose the check on field translation that \Drupal\content_translation\ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable() does.