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.
Problem/Motivation
#2763043: Rename Paste form form ID was committed and we can use hook_form_FORM_ID_alter()
in the install hook of mailhandler_d8_demo
.
Proposed resolution
Replace hook_form_alter()
with hook_form_FORM_ID_alter()
in mailhandler_d8_demo
. Update the tests.
Comment | File | Size | Author |
---|---|---|---|
#3 | replace_form_alter_with-2768325-3.patch | 1.4 KB | mbovan |
Comments
Comment #2
mbovan CreditAttribution: mbovan as a volunteer and for Google Summer of Code commentedComment #3
mbovan CreditAttribution: mbovan as a volunteer and for Google Summer of Code commentedAdded a patch.
Comment #5
mbovan CreditAttribution: mbovan as a volunteer and for Google Summer of Code commentedCommitted.
Comment #6
miro_dietikerCool thx!