function workflowfield_forms in Workflow 7
Implements hook_forms().
Allows the workflow form to be repeated multiple times on a page. See http://drupal.org/node/1970846.
This is called by the formatter, to show the widget.
File
- workflow_field/
workflowfield.module, line 26 - Support workflows made up of arbitrary states.
Code
function workflowfield_forms($form_id, $args) {
$forms = array();
if (strpos($form_id, WORKFLOWFIELD_FORM) !== FALSE) {
$forms[$form_id] = array(
'callback' => WORKFLOWFIELD_FORM,
);
}
return $forms;
}