You are here

function editablefields_field_formatter_info in Editable Fields 6.2

Same name and namespace in other branches
  1. 5.3 editablefields.module \editablefields_field_formatter_info()
  2. 5 editablefields.module \editablefields_field_formatter_info()
  3. 5.2 editablefields.module \editablefields_field_formatter_info()
  4. 6.3 editablefields.module \editablefields_field_formatter_info()
  5. 6 editablefields.module \editablefields_field_formatter_info()
  6. 7 editablefields.module \editablefields_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./editablefields.module, line 61
Editable fields module.

Code

function editablefields_field_formatter_info() {
  return array(
    'editable' => array(
      'label' => t('Editable (Ajax)'),
      'field types' => array_keys(_content_field_types()),
    ),
    'editable_html' => array(
      'label' => t('Editable (HTML)'),
      'field types' => array_keys(_content_field_types()),
    ),
    'clicktoedit' => array(
      'label' => t('Click to Edit'),
      'field types' => array_keys(_content_field_types()),
    ),
  );
}