You are here

function computed_field_field_widget_info in Computed Field 7

Implements hook_field_widget_info().

File

./computed_field.module, line 331
Functionality for the computed field.

Code

function computed_field_field_widget_info() {
  return array(
    'computed' => array(
      'label' => t('Computed'),
      'field types' => array(
        'computed',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}