Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
forms system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Nov 2009 at 22:37 UTC
Updated:
10 Dec 2009 at 21:00 UTC
If an element has defines #parents upfront, then form_builder() takes the #parents as base for #array_parents.
I do not have an actual bug to showcase this, but while debugging #414424: Introduce Form API #type 'text_format', I realized that this situation can occur.
| Comment | File | Size | Author |
|---|---|---|---|
| drupal.form-builder-array-parents.patch | 1.17 KB | sun |
Comments
Comment #1
chx commentedUm. The original made no sense. My fault. It was written very late in D6 cycle, beta 3 time alas :/ so it was faulty. Oh well.
Comment #2
casey commentedIt also needs documentation: #279246: FAPI #array_parents is not documented
It's not on http://api.drupal.org/api/drupal/developer--topics--forms_api_reference....
Comment #3
dries commentedCommitted to CVS HEAD. Marking it as 'code needs work' for a documentation follow-up per #2.
Thanks sun.
Comment #4
sunI've provided some insightful docs over in #279246: FAPI #array_parents is not documented