function workflow_field_widget_info_alter in Workflow 8
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
workflow_options_list()
File
- ./
workflow.field.inc, line 76 - Defines a Workflow field, widget and formatter. (copied from list field).
Code
function workflow_field_widget_info_alter(&$info) {
$info['options_select']['field_types'][] = 'workflow';
$info['options_buttons']['field_types'][] = 'workflow';
}