function editablefields_menu in Editable Fields 6.2
Same name and namespace in other branches
- 6.3 editablefields.module \editablefields_menu()
- 6 editablefields.module \editablefields_menu()
Implementation of hook_menu().
File
- ./
editablefields.module, line 11 - Editable fields module.
Code
function editablefields_menu() {
global $user;
$items = array();
// Admin pages:
$items['editablefields_view'] = array(
'page callback' => 'editablefields_view',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
'title' => 'ajax view',
);
$items['editablefields_html'] = array(
'page callback' => 'editablefields_html',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
'title' => 'ajax form',
);
$items['editablefields_submit'] = array(
'page callback' => 'editablefields_submit',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
'title' => 'ajax submit',
);
return $items;
}