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.
Remove the function drupal_build_form() once all its usage is removed in favour of \Drupal::formBuilder()->buildForm() as it is deprecated and wil no longer be used.
To remove all usages, here https://www.drupal.org/node/2299421
patch is submitted for same.
Suggested commit message (as of #11): Issue #2299427 by amitgoyal, tim.plunkett: Remove drupal_build_form() once all its usage is removed as it is deprecated.
Comment | File | Size | Author |
---|---|---|---|
#4 | remove-drupal-build-form-2299427-4.patch | 668 bytes | amitgoyal |
Comments
Comment #1
joshi.rohit100Comment #3
ParisLiakos CreditAttribution: ParisLiakos commentedComment #4
amitgoyal CreditAttribution: amitgoyal commentedThe patch "remove-drupal-build-form_0.patch" no longer applies in the latest repo.
Please review revised patch attached.
Comment #6
joshi.rohit100Comment #10
ianthomas_ukDuplicate of #2300581: Remove drupal_build_form(), which has an older and more comprehensive patch, and it listed in the relevant meta (#2205673: [META] Remove all @deprecated functions marked "remove before 8.0")
Comment #11
ianthomas_uk... but that patch doesn't apply, because half of it was applied in the sister issue to this one.
#4 is good and is covered by change record https://www.drupal.org/node/2121003
Suggested commit message: Issue #2299427 by amitgoyal, tim.plunkett: Remove drupal_build_form() once all its usage is removed as it is deprecated.
Comment #16
ianthomas_ukComment #17
alexpottCan we add this issue to the relevant change record please. Thanks.
Comment #18
ianthomas_ukSorry, now done.
Comment #19
alexpottCommitted 527e690 and pushed to 8.x. Thanks!