You are here

function boolean_field_formatter_info in Boolean Field 7

Implements hook_field_formatter_info().

File

./boolean.module, line 173
Defines boolean field type.

Code

function boolean_field_formatter_info() {
  return array(
    'number_boolean' => array(
      'label' => t('Default'),
      'field types' => array(
        'number_boolean',
      ),
      'settings' => array(
        'labels' => FALSE,
        'omit_unchecked' => FALSE,
        'prefix_suffix' => TRUE,
      ),
    ),
  );
}