You are here

function jeditable_field_formatter_info in jEditable inline content editing 6

Same name and namespace in other branches
  1. 6.2 jeditable.module \jeditable_field_formatter_info()
  2. 7 jeditable.module \jeditable_field_formatter_info()

Implementation of hook_field_formatter_info(),.

File

./jeditable.module, line 78
jeditable.module

Code

function jeditable_field_formatter_info() {
  return array(
    'jeditable_textfield' => array(
      'label' => t('jEditable Textfield'),
      'field types' => array(
        'text',
        'number_integer',
        'number_decimal',
        'number_float',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
    'jeditable_textarea' => array(
      'label' => t('jEditable Textarea'),
      'field types' => array(
        'text',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
    'jeditable_nodereference' => array(
      'label' => t('jEditable Nodereference'),
      'field types' => array(
        'nodereference',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
    'jeditable_datetime' => array(
      'label' => t('jEditable Datetime picker'),
      'field types' => array(
        'datetime',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
  );
}