Refactor FormTestClickedButtonForm::buildForm

Created on 14 July 2024, about 2 months ago

Problem/Motivation

In πŸ“Œ Fix strict type errors in test modules Needs work it was suggested we open a follow up to refactor FormTestClickedButtonForm::buildForm.

Steps to reproduce

See core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php

Proposed resolution

I think this warrants a follow-up to make this less magic.
We can use array_filter to trim out the nulls and we can pass the actual types instead of magic s/b/i and r

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
FormΒ  β†’

Last updated 1 minute ago

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024