function hosting_migrate_menu in Hosting 6.2
Same name and namespace in other branches
- 7.4 migrate/hosting_migrate.module \hosting_migrate_menu()
- 7.3 migrate/hosting_migrate.module \hosting_migrate_menu()
Implementation of hook_menu().
File
- migrate/
hosting_migrate.module, line 21
Code
function hosting_migrate_menu() {
// TODO: add some security here
$items['hosting/migrate/compare'] = array(
'title' => 'Compare packages',
'page callback' => 'hosting_migrate_comparison',
'access arguments' => array(
'create migrate task',
),
'type' => MENU_CALLBACK,
);
/*
$items['node/%hosting_platform_node/task_migrate'] = array(
'title' => t('Migrate'),
'description' => t('Migrate sites to a new platform'),
'page callback' => 'drupal_get_form',
'page arguments' => array('hosting_migrate_platform', 1),
'access arguments' => array('create migrate task'),
'type' => MENU_LOCAL_TASK,
'weight' => ($info['weight']) ? $info['weight'] : 0,
);
*/
return $items;
}