Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
thronedigital CreditAttribution: thronedigital commentedCurious about this as well. Would like to template the form that is rendered inside IEF
Comment #3
brooke_heaton CreditAttribution: brooke_heaton as a volunteer commentedto 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.
Comment #4
geek-merlin