Add ability to insert FAPI wrapper element without modifying #parents of children

Created on 29 April 2010, over 14 years ago
Updated 30 January 2023, over 1 year ago

Follow-up from #759222: #tree does not default to TRUE, fails to meet developer expectations β†’ . It was decided in that issue that changing the meaning of #tree => FALSE is out of scope for D7. However, I think the use-case in #759222-10: #tree does not default to TRUE, fails to meet developer expectations β†’ remains compelling enough to warrant a new option for #tree. I propose #tree => NULL. I'm generally not too keen on having unspecified, NULL, and FALSE meaning different things, but that's actually already quite common within FAPI. An example where this will come into play is for fieldable fields, and wanting to use the fieldgroup module for them.

πŸ“Œ Task
Status

Needs work

Version

9.5

Component
FormΒ  β†’

Last updated 35 minutes ago

Created by

πŸ‡ΊπŸ‡ΈUnited States effulgentsia

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The Needs Review Queue Bot β†’ tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide β†’ to find step-by-step guides for working with issues.

Production build 0.71.5 2024