It would be useful if a module could alter the bundle of IEF form so it could be posible to add a select with possibles bundles an load the specific form when a item is selected. I wrote a module that do it but it requieres a patch to work with IEF. Please consider to add this feature.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cgv created an issue. See original summary.

Status: Needs review » Needs work

The last submitted patch, alter-bundle.patch, failed testing.

cgv’s picture

Status: Needs work » Patch (to be ported)
ceonizm’s picture

I was about to open an issue for the same need.
Basically I needed to programmatically change the bundle of a single inline entity form widget compared to some values in the main parent form when doing an ajax call.

my version of the patch is a bit different (hook name and args differs) but follow the same way.

cgv’s picture

Status: Patch (to be ported) » Needs review

Status: Needs review » Needs work

The last submitted patch, 4: 2855505-alter-entity-bundle.patch, failed testing.