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 the options module is disabled, these errors appear:
Notice: Undefined index: label in field_ui_widget_type_options() (line 1438 of modules/field_ui/field_ui.admin.inc).
Since the options module is not a hard-dependency, I think it's sensible to check if the module is available before providing the addition field widget options.
Comment | File | Size | Author |
---|---|---|---|
#1 | check-options-1396850-1.patch | 995 bytes | helior |
Comments
Comment #1
helior CreditAttribution: helior commentedComment #2
helior CreditAttribution: helior commentedTypo in title.
Comment #3
Damien Tournoud CreditAttribution: Damien Tournoud commentedThanks for the patch.
Merged into 7.x-1.x. Not sure why it took so much time :)