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.
Here is a patch that preserves $form['#prefix']
and $form['#suffix']
if they were already defined.
Comment | File | Size | Author |
---|---|---|---|
form-alter-prefix-suffix.patch | 913 bytes | cthiebault |
Comments
Comment #1
SpleshkaGood idea, thanks. Commited (795bf57) to 7.x-4.x.