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.
The js and css should be added in a smarter way so that they are only added when needed.
field_group.js
field_group.css
/misc/form.js
/misc/collapse.js
For an 'open' div for example, none of these are required.
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedTrue, we could check hardcoded on "div>open". I think the rest can be re-evaluated, however I think the rest is needed very likely.
Comment #2
nils.destoop CreditAttribution: nils.destoop commentedIn D8 attaching is done in a 'smarter' way