function editor_note_field_formatter_info in Editor Notes 7
Implements hook_field_formatter_info().
Registers formatter for the field.
File
- ./
editor_note.module, line 816 - Main functionality for Editor Notes module.
Code
function editor_note_field_formatter_info() {
return array(
'editor_note_field_formatter' => array(
'label' => t('Editor Notes table'),
'field types' => array(
'editor_note',
),
'settings' => array(
'notes_display_mode' => 'per_revision',
'limit' => 10,
'order' => 'DESC',
'display' => 1,
'pager' => array(
'enabled' => 1,
'pager_below' => 1,
),
),
),
);
}