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.
Problem/Motivation
#description_display
is ignored for fields. Children elements don't inherit this from their parents.
Comments
Comment #11
larowlanCan you provide steps to reproduce starting from 'install drupal', thanks
Comment #14
penyaskitoI don't know what I was doing in 2015, but since then I learnt to report better than this even if in a rush.
I think the key was adding #description_display to fields in form_alter, and I guess I hoped that the widget element would inherit that. Probably we can close it, as that behavior is not a pattern somewhere else, and if I was referring to something else I forgot what it was.
Comment #15
penyaskitoOr maybe even was a duplicate from #2318757: Make position of #description configurable via the API for form field widgets. Anyway this should be closed.
Comment #16
larowlanThank you!