function workflowfield_field_widget_info_alter in Workflow 7
Same name and namespace in other branches
- 7.2 workflow_field/workflowfield.field.inc \workflowfield_field_widget_info_alter()
Implements hook_field_widget_info_alter().
The module does not implement widgets of its own, but reuses the widgets defined in options.module.
See also
File
- workflow_field/
workflowfield.field.inc, line 74 - Defines a Workflow field, widget and formatter. (copied from list field).
Code
function workflowfield_field_widget_info_alter(&$info) {
$info['options_select']['field types'][] = 'workflow';
$info['options_buttons']['field types'][] = 'workflow';
}