You are here

workflows_field.module in Workflows Field 2.x

Same filename and directory in other branches
  1. 8 workflows_field.module

Provides hook implementations for the Workflow Field module.

File

workflows_field.module
View source
<?php

/**
 * @file
 * Provides hook implementations for the Workflow Field module.
 */

/**
 * Implements hook_field_widget_info_alter().
 */
function workflows_field_field_widget_info_alter(array &$info) {
  $info['options_select']['field_types'][] = 'workflows_field_item';
}

/**
 * Implements hook_field_formatter_info_alter().
 */
function workflows_field_field_formatter_info_alter(array &$info) {
  $info['list_default']['field_types'][] = 'workflows_field_item';
}