function jeditable_menu in jEditable inline content editing 6
Same name and namespace in other branches
- 6.2 jeditable.module \jeditable_menu()
- 7 jeditable.module \jeditable_menu()
Implementation of hook_menu()
File
- ./
jeditable.module, line 21 - jeditable.module
Code
function jeditable_menu() {
$items['jeditable/ajax/save'] = array(
'title' => 'Save field',
'page callback' => '_jeditable_ajax_save',
'access arguments' => array(
'use jeditable',
),
'type' => MENU_CALLBACK,
);
$items['jeditable/ajax/load'] = array(
'title' => 'Load field',
'page callback' => '_jeditable_ajax_load',
'page arguments' => array(
3,
4,
5,
),
'access arguments' => array(
'use jeditable',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/jeditable'] = array(
'title' => 'jEditable',
'description' => 'Configure the jEditable module.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'jeditable_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}