Problem/Motivation
From #3166543: Deprecate UiHelperTrait::drupalPostForm, keep deprecation silenced -
calls to drupalPostForm(NULL, ...) are easy to convert to submitForm since there is no need to visit an URL prior to POSTing the form.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | Convert_calls-3168375-16.patch | 533.37 KB | manishsaharan |
| #15 | 3168375-15.patch | 533.37 KB | mondrake |
| #15 | interdiff_13-15.txt | 3.43 KB | mondrake |
Comments
Comment #2
mondrakePatch.
Comment #3
longwaveAs #3145005: [November 9, 2020] Remove uses of t() in drupalPostForm() calls was requested to be scheduled due to disruption I imagine this will be as well, and they will definitely have a lot of conflicts!
Comment #4
mondrakeLet’s postpone on that one, then. That means this will be 9.2 material.
Comment #6
catchComment #7
mondrakeReroll, built on top of #3145005: [November 9, 2020] Remove uses of t() in drupalPostForm() calls.
Comment #9
mondrakeComment #10
manishsaharan commentedI am working on this issue
Comment #11
mondrakeComment #13
mondrakeComment #15
mondrakeComment #16
manishsaharan commentedRemoved uses of drupalPostForm().
Comment #17
manishsaharan commentedComment #18
longwaveThis is a straightforward find and replace, plus a simple deprecation and test. Reviewed with
git diff --color-words, no issues spotted.Comment #20
catchCommitted/pushed to 9.2.x and cherry-picked to 9.1.x, thanks!
Comment #22
mondrakeFiled #3184324: Convert calls to drupalPostForm() that assign return value to a variable.