Problem/Motivation
Storage entities are not compatible with Inline Entity Form on a multilingual site.
IEF expects a ContentEntityTypeInterface when it prepares entities (e.g. when loading translations) and apparently, storage entities are not specifically of this type thus, not translatable when embed in an inline_entity_form.
Here's the original issue when I tried to provide a patch:
https://www.drupal.org/project/inline_entity_form/issues/3390708
But I"m not sure if there's something simpler, maybe a fix we can apply on Storage instead of IEF?
Thanks
Comments
Comment #2
erutan commentedWorth pointing out that this is for the 2.0 branch of IEF which is currently highly not recommended. Comments in the issue queue linked indicate it works in 1.0.
Whether or not it'll crop up again in 3.0 in the future is beyond me taking a glance at it. I don't think warrants a major status.
Comment #3
mandclu commentedHas this been tested with the 3.0 branch of IEF?
Comment #4
mandclu commentedComment #5
erutan commented3.0 and 1.0 are nearly the same codebase. I'm still running 1.0 so can't confirm, but:
https://git.drupalcode.org/project/inline_entity_form/-/commits/3.x
https://git.drupalcode.org/project/inline_entity_form/-/commits/8.x-1.x
The patch mentioned in the original report was for 2.0
Comment #6
mandclu commentedPostponed until there is specific feedback for the 3.0 branch of IEF
Comment #7
theodorosploumis