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.
Each region has a weight set, footer being #2, but since the rendering is done through drupal_render_children it's not going to honor those weights.
It seems like there are some other coding ideas in the works to improve on the ability to alter, but I think in the meantime we should just make a small change to the preprocess function to add the final regions to the form in the order we get them from nodeformcols_form_regions().
In fact the alter to those regions could probably just be within that function itself.
Comment | File | Size | Author |
---|---|---|---|
#1 | region-weight-error-1980186-1.patch | 482 bytes | asherry |
Comments
Comment #1
asherry CreditAttribution: asherry commentedHere is the patch, pretty simple coding change actually. I just iterate through the regions, and check the $has_elements variable there.
Comment #2
asherry CreditAttribution: asherry commentedComment #4
asherry CreditAttribution: asherry commented