Skip to content
  • Jonathan Chaffer's avatar
    The first of two field API changes. · 464bdf58
    Jonathan Chaffer authored
    Added a $node_field parameter to hook_field() and hook_widget(). This eases
    a very common pattern of getting and setting this value. While $node is still
    passed by reference, fields should *not* modify it. Instead, modify $node_field
    which is saved back automatically.
    464bdf58