function filefield_menu in FileField 6.2
Same name and namespace in other branches
- 5.2 filefield.module \filefield_menu()
- 5 filefield.module \filefield_menu()
- 6.3 filefield.module \filefield_menu()
Implementation of hook_menu().
File
- ./
filefield.module, line 22
Code
function filefield_menu() {
$items = array();
$items['filefield/js/upload/%/%/%'] = array(
'page callback' => 'filefield_js',
'page arguments' => array(
3,
4,
5,
'filefield_file_upload_js',
),
'access callback' => 'filefield_edit_access',
'access arguments' => array(
3,
),
'type' => MENU_CALLBACK,
'file' => 'filefield.widget.inc',
);
$items['filefield/js/delete/%/%/%'] = array(
'page callback' => 'filefield_js',
'page arguments' => array(
3,
4,
5,
'filefield_file_edit_delete_js',
),
'access callback' => 'filefield_edit_access',
'access arguments' => array(
3,
),
'type' => MENU_CALLBACK,
'file' => 'filefield.widget.inc',
);
return $items;
}