Spin off from #641670: Move $form['#field'] meta information into $form_state
The 'edit field settings' form has an widget element to enter a default value for the field.
The code reading and validating the entered can be made simpler if we force the form values for this element to be at top-level ('#parents' => array())
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | field-_ui_default_value-686226-3.patch | 4.54 KB | yched |
| field-_ui_default_value.patch | 4.19 KB | yched |
Comments
Comment #1
sunfield-_ui_default_value.patch queued for re-testing.
Comment #3
yched commentedRerolled.
Comment #4
yched commented+ easier tracking
Comment #5
sun#3: field-_ui_default_value-686226-3.patch queued for re-testing.
Comment #6
yched commented#3 is green
Comment #7
sunThanks, yched! This is a really nice clean-up.
Comment #8
dries commentedAgreed. Committed to CVS HEAD. Thanks yched.