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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2855505-alter-entity-bundle.patch | 1.1 KB | ceonizm |
| alter-bundle.patch | 777 bytes | cgv |
Comments
Comment #3
cgv commentedComment #4
ceonizm commentedI 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.
Comment #5
cgv commentedComment #7
bluegeek9 commentedWe appreciate your contributions to Inline Entity Form. Drupal 7 in End-of-Life. We encourage you to upgrade to a supported version of Drupal.