You are here

function redhen_fields_field_widget_info in RedHen CRM 7

Implements hook_field_widget_info().

File

modules/redhen_fields/redhen_fields.module, line 472
Defines email, phone and address field types for RedHen CRM.

Code

function redhen_fields_field_widget_info() {
  return array(
    'redhen_email_simple_widget' => array(
      'label' => t('Simple Email field'),
      'field types' => array(
        'redhen_email',
      ),
      'settings' => array(),
      'behaviors' => array(
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
    'redhen_email_widget' => array(
      'label' => t('Rich Email field'),
      'field types' => array(
        'redhen_email',
      ),
      'settings' => array(),
      'behaviors' => array(
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}