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 form weights feature is long gone
See http://drupalcode.org/project/devel.git/commit/d46ac02a5462680121f091bce... & #680288: Forms on current page introspection but there's a variable_del still in the uninstall.
We need to provide a hook_update_N and remove that line.
Just for D7, low hanging fruit
Comment | File | Size | Author |
---|---|---|---|
#2 | devel-get-rid-of-devel_form_weights-variable-reference-1954242-2.patch | 678 bytes | Spleshka |
#1 | devel-get-rid-of-devel_form_weights-variable-reference-1954242-1.patch | 421 bytes | Spleshka |
Comments
Comment #1
SpleshkaIf I got your idea - we should simply remove variable on hook_update(). If so - patch attached.
Where is my fruit? :)
Comment #2
SpleshkaHm. Now I think I got you better :)
Comment #3
pcambraThanks ;) setting as RTBC
Comment #4
salvisYes, this looks OK. Thanks, both.
Comment #5
pcambraAnd committed to the 7.x branch, no D8 here.
Thanks!