function editor_note_field_info in Editor Notes 7
Implements hook_field_info().
File
- ./
editor_note.module, line 319 - Main functionality for Editor Notes module.
Code
function editor_note_field_info() {
return array(
'editor_note' => array(
'label' => t('Editor Notes'),
'description' => t('Field for taking editor notes.'),
'settings' => array(
'notes_permissions' => 'default',
'notes_size' => 5,
'notes_placeholder' => t('Create a note'),
'notes_maxlength' => 0,
'limit' => 10,
'order' => 'DESC',
'display' => 1,
'text_processing' => EDITOR_NOTE_DEFAULT_TEXT_FORMAT,
'pager' => array(
'enabled' => 1,
'pager_below' => 1,
),
'modal' => array(
'overlay' => array(
'opacity' => 0.7,
'bgcolor' => '000000',
),
'edit' => array(
'width' => 600,
'height' => 'auto',
),
'remove' => array(
'width' => 320,
'height' => 'auto',
),
),
),
'instance_settings' => array(),
'default_widget' => 'editor_note_field_widget',
'default_formatter' => 'editor_note_field_formatter',
),
);
}