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.
Meta issue: #2205673: [meta] Remove all @deprecated functions marked "remove before 8.0"
The usage of the function is already removed in: https://www.drupal.org/node/2367743, this issue is to remove the function itself from form.inc
Comment | File | Size | Author |
---|---|---|---|
#11 | remove-drupal_form_submit-2448339-1.patch | 717 bytes | Mile23 |
#6 | remove-drupal_form_submit-2448339-6.patch | 1.19 KB | gaurav_varshney |
#3 | remove-drupal_form_submit-2448339-3.patch | 1.11 KB | gaurav_varshney |
#1 | remove-drupal_form_submit-2448339-1.patch | 717 bytes | a_thakur |
Comments
Comment #1
a_thakur CreditAttribution: a_thakur commentedPlease find the attached patch. Link added to change record as well: https://www.drupal.org/node/2121003
Comment #2
Mile23My IDE shows me a use of
drupal_form_submit()
incore/scripts/generate-d7-content.sh
.Comment #3
gaurav_varshney CreditAttribution: gaurav_varshney commentedComment #5
a_thakur CreditAttribution: a_thakur at Srijan | A Material+ Company commentedComment #6
gaurav_varshney CreditAttribution: gaurav_varshney commentedComment #7
Mile23My bad. I think generate-d7-content.sh is for use with a D7 site for various magical reasons which aren't spelled out very clearly.
I'm going to RTBC both #1 and #6, since they both still apply and both accomplish the goal.
If generate-d7-content.sh should be modified, then #6.
If it should *not* be modified, then #1.
Comment #8
Mile23Update: Definitely shouldn't change generate-d7-content.sh. :-)
So RTBC for #1.
Comment #9
alexpottCan #1 be re-uploaded since only the latest patch is rtbc retested and can the CR which details the change to drupal_form_submit() have this issue added. Thanks.
Comment #10
Mile23Added the issue to the change record.
Comment #11
Mile23Re-uploading #1, which is the work of @a_thakur.
Comment #12
Mile23OK, so #1 is re-uploaded in #11, passes the testbot, has a reference in the change record, *and* does what this issue wants it to do. Therefore, RTBC. Credit to @a_thakur.
Comment #13
alexpottCommitted 6695db7 and pushed to 8.0.x. Thanks!