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.
When custom modules use content_fields() and content_field_form() to partially use certain fields, the structure of the form might or might not include the original fieldgroup array structure. So, the AHAH return action should check to see if it was successfully getting the form field return, if not, try to get the field without using the fieldgroup.
Comment | File | Size | Author |
---|---|---|---|
#1 | filefield_fieldgroup_independence.patch | 378 bytes | quicksketch |
filefield-fieldgroup-independence.patch | 553 bytes | branana |
Comments
Comment #1
quicksketchThanks, I'm not entirely sure what benefit you're talking about, but such a minor change is easy to accommodate. I've committed this patch which is equivalent but doesn't duplicate conditions.
Comment #2
quicksketch