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

matthieuscarset created an issue. See original summary.

erutan’s picture

Worth 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.

mandclu’s picture

Has this been tested with the 3.0 branch of IEF?

mandclu’s picture

Priority: Major » Normal
erutan’s picture

3.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

mandclu’s picture

Status: Active » Postponed (maintainer needs more info)

Postponed until there is specific feedback for the 3.0 branch of IEF

theodorosploumis’s picture

Title: Not compatible with Inline Entity Form » Not compatible with Inline Entity Form in multilingual parent
Version: 1.3.x-dev » 1.4.x-dev