Entity form default ::afterBuild and ::processForm are not working correctly for subforms

Created on 4 September 2023, 10 months ago

Problem/Motivation

\Drupal\Core\Entity\EntityForm::form maps by default a #process callback to ::processForm and a #after_build callback to ::afterBuild. This is not working correctly with subforms, because this points the subform after builder calls to the parent form instead of the subform.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs review

Version

11.0 🔥

Component
Form 

Last updated 16 minutes ago

Created by

🇫🇮Finland lauriii Finland

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

Comments & Activities

Production build 0.69.0 2024