Part of #2072251: [meta] Modernize forms to use FormBase
Updated: Comment #0
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(). Both ConfigExportForm and ConfigImportForm fit the bill.
Proposed resolution
Refactor ConfigExportForm and ConfigImportForm to extend FormBase
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Related Issues
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | config-2071439-1.patch | 5.58 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettComment #2
jibranThis is simple swap for
tto$this->tso I think it is safe to RTBC.Comment #3
catchCommitted/pushed to 8.x, thanks!
Comment #4.0
(not verified) commentedAdd link to meta issue