function editablefields_default_editablefields_preset in Editable Fields 6.3
Implementation of hook_default_editablefields_preset().
Provide a couple of default presets.
File
- ./
editablefields.module, line 53 - Editable fields module.
Code
function editablefields_default_editablefields_preset() {
$export = array();
$export['modal'] = (object) array(
'api_version' => 1,
'name' => 'modal',
'description' => 'Display the field form in a Modal Dialog',
'config' => array(
'editable_type' => 'modal',
),
);
$export['html'] = (object) array(
'api_version' => 1,
'name' => 'html',
'description' => 'Display the field form inline',
'config' => array(
'editable_type' => 'html',
),
);
return $export;
}