function commerce_node_checkout_expire_forms in Commerce Node Checkout 7
Implements hook_forms().
File
- commerce_node_checkout_expire/
commerce_node_checkout_expire.module, line 233 - Provides core hooks and the like for the module.
Code
function commerce_node_checkout_expire_forms($form_id) {
$forms = array();
// Add a central relist form handler for when the form is called with
// a node ID appended (ie, Views).
if (strpos($form_id, 'commerce_node_checkout_expire_relist_form_') === 0) {
$forms[$form_id]['callback'] = 'commerce_node_checkout_expire_relist_form';
}
return $forms;
}