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.
drupal_html_id() is run in both form_process_container() and theme_container().
Thus all 'containers' get an id ending in '-2'.
You can see that on a node edit page, around 'body' and 'title' fields.
drupal_html_id() is the job of form building, so this patch removes it from theme_container().
Comment | File | Size | Author |
---|---|---|---|
form_container_id.patch | 712 bytes | yched | |
Comments
Comment #1
yched CreditAttribution: yched commentedComment #2
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.