Today I was trying to write IEF integration for field collection fields. Field collection field is a reference type field similar to entity reference and I prefer the inline entity form widget to the one that comes with field collections. However inline_entity_form_settings() will return a controller only for a hard-coded list of field types.

Seems like there should be a "hook_inline_entity_form_settings" or something so that other modules can define field types that will work with IEF. I could provide a patch if you think this is a good idea.

Comments

bojanz’s picture

Sure, why not.

arosboro’s picture

@dpolant,

Have you made any progress with this? I'll be glad to test your patch as I have a need to use ief with field collections.

bojanz’s picture

Title: Inline entity form widget for different field types » Add hook_inline_entity_form_settings_alter()

Retitling

bendiy’s picture

Status: Active » Needs review
StatusFileSize
new1.78 KB

I hope this will also work for what I'm trying to do. See attached patch.

bojanz’s picture

Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.