Skip to content
  • Karen Stevenson's avatar
    #157176 First round of FAPIzing the widgets. Widget invoke hook_elements() and... · e9b6b501
    Karen Stevenson authored
    #157176 First round of FAPIzing the widgets. Widget invoke hook_elements() and use FAPI #process, #value_callback, etc. Widgets now only produce a single element and content module handles multiple values. Widget elements are designed to be agnostic about where they are placed. The content module places them on nodes, but it should be possible to write custom code to place them elsewhere by creating a $field array that will tell the widget what parameters to use. See the referenced issue for more details.
    e9b6b501