You are here

function workflow_field_formatter_info_alter in Workflow 8

Implements hook_field_formatter_info_alter().

The module reuses the formatters defined in list.module.

File

./workflow.field.inc, line 63
Defines a Workflow field, widget and formatter. (copied from list field).

Code

function workflow_field_formatter_info_alter(&$info) {
  $info['list_key']['field_types'][] = 'workflow';
  $info['list_default']['field_types'][] = 'workflow';
}