function quickedit_menu in Quick Edit 7
Implements hook_menu().
File
- ./
quickedit.module, line 41 - Provides in-place content editing functionality for fields.
Code
function quickedit_menu() {
$items = array();
$items['quickedit/metadata'] = array(
'access arguments' => array(
'access in-place editing',
),
'page callback' => 'quickedit_metadata',
'file' => 'includes/pages.inc',
'type' => MENU_CALLBACK,
);
$items['quickedit/attachments'] = array(
'access arguments' => array(
'access in-place editing',
),
'page callback' => 'quickedit_attachments',
'file' => 'includes/pages.inc',
'delivery callback' => 'ajax_deliver',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
);
$items['quickedit/form/%/%/%/%/%'] = array(
'access arguments' => array(
'access in-place editing',
),
'page callback' => 'quickedit_field_edit',
'page arguments' => array(
2,
3,
4,
5,
6,
),
'file' => 'includes/pages.inc',
'delivery callback' => 'ajax_deliver',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
);
$items['quickedit/entity/%/%'] = array(
'access arguments' => array(
'access in-place editing',
),
'page callback' => 'quickedit_entity_save',
'page arguments' => array(
2,
3,
),
'file' => 'includes/pages.inc',
'delivery callback' => 'ajax_deliver',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
);
$items['quickedit/ckeditor/%/%/%/%/%'] = array(
'access arguments' => array(
'access in-place editing',
),
'page callback' => 'quickedit_ckeditor_get_untransformed_text',
'page arguments' => array(
2,
3,
4,
5,
6,
),
'file' => 'includes/pages.inc',
'delivery callback' => 'ajax_deliver',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
);
return $items;
}