You are here

function itoggle_field_field_formatter_info in iToggle 7.2

Same name and namespace in other branches
  1. 7 modules/field/itoggle_field.module \itoggle_field_field_formatter_info()

Implements hook_field_formatter_info().

File

modules/field/itoggle_field.module, line 212
iToggle Field module.

Code

function itoggle_field_field_formatter_info() {
  return array(
    'itoggle_formatter' => array(
      'label' => t('iToggle Widget'),
      'description' => t('Displays the field as an iToggle Widget.'),
      'field types' => array(
        'itoggle_field',
        'list_boolean',
      ),
      'settings' => array(
        'clickable' => 0,
        'display_type' => 0,
        'override' => 0,
      ),
    ),
    'itoggle_raw' => array(
      'label' => t('Raw Value'),
      'description' => t('Displays the raw value of the field.'),
      'field types' => array(
        'itoggle_field',
      ),
      'settings' => array(),
    ),
  );
}