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.

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

Issue summary: View changes
StatusFileSize
new1.1 KB

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.

bluegeek9’s picture

Status: Needs work » Closed (outdated)

We appreciate your contributions to Inline Entity Form. Drupal 7 in End-of-Life. We encourage you to upgrade to a supported version of Drupal.

//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.