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.
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 CreditAttribution: cgv as a volunteer commentedComment #4
ceonizm CreditAttribution: ceonizm as a volunteer 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 CreditAttribution: cgv as a volunteer commented