Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Dec 2012 at 13:16 UTC
Updated:
4 Jan 2014 at 02:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhodgdonYeah, it should return an array of elements. Probably the easiest way to fix it would be to change the last line to be (as in number_field_widget_form() for instance):
That would be a good Novice project... And this hook doesn't exist any more in Drupal 8.x, so this is purely a 7.x issue.
Comment #2
ivan zugec commentedUpdated what is returned in hook_field_widget_form.
Comment #3
jhodgdonLooks good -- thanks for the patch!
Comment #4
jhodgdonCommitted to 7.x. Thanks again!