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.
Alteration form to a hide title for a field_collection form element not working.
i.e. i set
$form[{fc_field}][LANGUAGE_NONE][0][{fc_sub_field}][LANGUAGE_NONE]['#title_display'] = 'invisible';
But label displayed.
How to hide titles for the field_collection elements in the node creation page?