function hosting_migrate_hosting_tasks in Hosting 7.4
Same name and namespace in other branches
- 5 migrate/hosting_migrate.module \hosting_migrate_hosting_tasks()
- 6.2 migrate/hosting_migrate.module \hosting_migrate_hosting_tasks()
- 7.3 migrate/hosting_migrate.module \hosting_migrate_hosting_tasks()
Implements hook_hosting_tasks().
File
- migrate/
hosting_migrate.module, line 48
Code
function hosting_migrate_hosting_tasks() {
$tasks = array();
$tasks['site']['migrate'] = array(
'title' => t('Migrate Site'),
'description' => t('Move the site to a new platform.'),
'dialog' => TRUE,
);
$tasks['platform']['migrate'] = array(
'title' => t('Migrate Sites'),
'description' => t('Migrate sites to a new platform.'),
'page arguments' => array(
'hosting_migrate_platform',
1,
),
'dialog' => TRUE,
);
return $tasks;
}