Part of #2072251: [meta] Modernize forms to use FormBase
Updated: Comment #N
Problem/Motivation
Now that #2059245: Add a FormBase class containing useful methods is in, I was looking at old forms that have empty validateForm() methods, or still use Drupal::service() or t().
Proposed resolution
Convert existing FormInterface forms to extend FormBase
Remaining tasks
User interface changes
API changes
Related Issues
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | modernize_search_module-2078005-1.patch | 13.37 KB | ivan zugec |
Comments
Comment #1
ivan zugec commentedPatch updates three forms and removes an empty validateForm().
Comment #2
jhodgdonThis all looks very straightforward and correct. Thanks!
Comment #3
alexpottCommitted 96edb78 and pushed to 8.x. Thanks!