ContentEntityBase::entityKeys "holds untranslatable entity keys such as the ID, bundle and revision ID." Not translatable entity keys.

CommentFileSizeAuthor
untranslatable_entity_keys.patch512 bytesmkalkbrenner

Comments

mkalkbrenner created an issue. See original summary.

stefan.r’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix

yep, translatable keys are in translatableEntityKeys

stefan.r’s picture

xjm’s picture

Status: Reviewed & tested by the community » Fixed

I looked at the use of this property in ContentEntityBase to confirm that this array indeed contains only the untranslatable keys and never any of the translatable ones; keys are added to one array or the other.

Committed and pushed to 8.0.x. Thanks!

  • xjm committed 30bdfad on 8.0.x
    Issue #2577659 by mkalkbrenner, stefan.r: Documentation for property...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.