Issue #2510274: Add ability to select form Display Mode added the ability to select an entity form mode from the IEF field settings. However, if you want to get more custom with a custom Twig template e.g. node-edit-form--my_node_type.html.twig, IEF does not render this twig template. Drupal 8 does render the form template in full edit mode, but I'm unclear on why IEF would not.

Comments

brooke_heaton created an issue. See original summary.

thronedigital’s picture

Curious about this as well. Would like to template the form that is rendered inside IEF

brooke_heaton’s picture

to clarify, I have a node bundle of 'location' and I display this node form inline with IEF on another node bundle. I am using this form template:

node-edit-form--location.html.twig

If a user goes to /node/add/location - they will see the form rendered through the above template. However the IEF form does not process through this template for some reason. For some reason it does not process through the node_edit_form theme hook.

geek-merlin’s picture