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.
Altering multiple element widget form with '#title_display' property set to "invisible" has no effect.
// "#title_display" property set, but label is still visible.
$form[$multiple_field_name][LANGUAGE_NONE]['#title_display'] = 'invisible';
Seems this takes place because theme function theme_field_multiple_value_form() adds label directly to element, not using form_element_label themization.
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal_core-field-title_display_on_multiple_values_widget-2419103-1.patch | 1.25 KB | dewalt |
Comments
Comment #1
dewalt CreditAttribution: dewalt commentedI propose the next patch.