function pack_upload_menu in Pack & Upload 8
Same name and namespace in other branches
- 7 pack_upload.module \pack_upload_menu()
- 2.0.x pack_upload.module \pack_upload_menu()
Implements hook_menu().
File
- ./
pack_upload.module, line 23 - This is the main code file for pack and upload module.
Code
function pack_upload_menu() {
$items['admin/config/media/pack-upload'] = array(
'title' => 'Pack & Upload',
'route_name' => 'pack_upload.config',
'type' => MENU_NORMAL_ITEM,
);
$items['admin/config/media/pack-upload/settings'] = array(
'title' => 'Pack & Upload',
'route_name' => 'pack_upload.config.settings',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/media/pack-upload/bulk-media-upload'] = array(
'title' => 'Upload bulk media',
'route_name' => 'pack_upload.uploadform',
'type' => MENU_LOCAL_TASK,
);
return $items;
}