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

Comments

rosk0’s picture

StatusFileSize
new1.1 KB
rosk0’s picture

Status: Active » Needs review

For test bot.

rosk0’s picture

Assigned: Unassigned » rosk0

Status: Needs review » Needs work

The last submitted patch, 1: drupal8.views-module.2078015-1.patch, failed testing.

pushpinderchauhan’s picture

Issue summary: View changes
Status: Needs work » Needs review
StatusFileSize
new1.01 KB

Unable to apply above patch. Please review updated patch.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Perfect!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 0cf2996 and pushed to 8.x. Thanks!

  • alexpott committed 0cf2996 on 8.x
    Issue #2078015 by er.pushpinderrana, RoSk0 | alexanansi: Modernize...

Status: Fixed » Closed (fixed)

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