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
The simple/short/tooltip descriptions need some love to deal with recent changes to markup/features.
Proposed resolution
Standardize the feature so it's more stable and displays properly.
Remaining tasks
Standardize on an actual name for this "feature".
Done - Now called "Smart form descriptions".Only show tooltips for input elements (i.e. not fieldsets).
Done - By default this only applies to elements which have#input => TRUE
set on them. Optionally, one can programmatically specify#smart_description => TRUE
to force a non-input element to be processed.Tooltips are duplicated oncheckbox
andradio
element types.
Done - #2461717: Checkbox and radio input elements should be rendered inside label fixed this.Tooltips need to be on the child elements forcheckboxes
andradios
element types.
No longer necessaryTooltips should just check for links in the description (<a>
elements) to determine "short description" eligibility.
Done - There is now an "allowed tags" setting with sensible defaults that assists in determining this filtering criteria.
User interface changes
See change record.
API changes
See change record.
Comments
Comment #1
markhalliwellComment #3
markhalliwellComment #4
DrCord CreditAttribution: DrCord commentedSo is this now in the bootstrap theme for 7.x-3.x-dev? I am using Bootstrap 7.x-3.1-beta2+16-dev, should I just update to get this?
Comment #6
markhalliwell@DrCord, yes... this had been committed to 7.x-3.x-dev. It may take a while for the packing to catch up though. I'm hoping to release 7.x-3.1-beta3 soon (within a couple days) though, so maybe wait.
Comment #7
DrCord CreditAttribution: DrCord commented@markcarver - thanks for your hard work on this theme. It would be stellar if you released a beta3 soon!
Comment #8
neardark CreditAttribution: neardark commentedPorted as part of #2474771: Clean up Bootstrap Settings code