Remove form_base_test.inc and move test_form_id into \Drupal\Tests\Core\Form\TestForm::buildForm

Created on 30 June 2025, 4 days ago

Problem/Motivation

form_base_test.inc contains an old functional-style form builder.

This code is only used once in core in \Drupal\Tests\Core\Form\TestForm::buildForm

The code was moved into it's own file in #2787655: Fix \Drupal\Tests\Core\Form\FormTestBase to not have multiple namespaces to avoid having two namespaces.

Steps to reproduce

Proposed resolution

Move the code out of the separate file into that \Drupal\Tests\Core\Form\TestForm::buildForm - then delete the file

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

forms system

Created by

🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024