- Issue created by @dieterholvoet
I have two entity types, Foo and Bar. Foo has an inline entity form referencing Bar entities. Both have automatic entity labels. The label pattern of Foo contains the label of the referenced Bar entity. auto_entitylabel_inline_entity_label_callback()
makes it so the label of the Foo entity is generated before being shown in the form widget, but it's incomplete, since the label of the Bar entity isn't being generated.
In the generateLabel()
method, also generate labels of referenced entities. Add some kind of recursion protection to make sure it never gets stuck in a loop.
Active
3.0
Code