Remove the generic widget settings form_alter hook in favor of
multiple file widget specific ones. In tandem with that, add file formatter settings to the field settings. Let's see if it works. Also, make hook_file_widget_info() more like hook_file_formatter_info() so that the array key doesn't specify the form element but is merely an arbitrary key, with the need to be unique only inside each module.
parent
5983a6bc
Please register or sign in to comment