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

Files: 
CommentFileSizeAuthor
#1 modernize_search_module-2078005-1.patch13.37 KBIvan Zugec
PASSED: [[SimpleTest]]: [MySQL] 58,642 pass(es). View

Comments

Ivan Zugec’s picture

Assigned: Unassigned » Ivan Zugec
Status: Active » Needs review
FileSize
13.37 KB
PASSED: [[SimpleTest]]: [MySQL] 58,642 pass(es). View

Patch updates three forms and removes an empty validateForm().

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

This all looks very straightforward and correct. Thanks!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 96edb78 and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.