Sometimes a box class needs to take over the whole boxes edit form and not just add in the options. The patch to come will add a check to see if the box want to define the whole form and if it does, hand over the form to the box.

This is need for the entity_boxes module http://drupal.org/project/entity_boxes

Comments

e2thex’s picture

This patch adds a check to see if the box has a full_form method, and if that method exists then it call and returned, instead of the standard form processing

e2thex’s picture

This patch is the same as in #1 but it is a -p0 version for older drush make installs

e2thex’s picture

change to calling the form method box_form

febbraro’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

smithmilner’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Closed (fixed) » Needs review

Rerolled for d6 dev.

smithmilner’s picture

attaching it would be useful...

tirdadc’s picture

Status: Needs review » Fixed

Changed it to box_form so it's consistent with the D7 version and committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.