function hosting_migrate_hosting_tasks in Hosting 5
Same name and namespace in other branches
- 6.2 migrate/hosting_migrate.module \hosting_migrate_hosting_tasks()
- 7.4 migrate/hosting_migrate.module \hosting_migrate_hosting_tasks()
- 7.3 migrate/hosting_migrate.module \hosting_migrate_hosting_tasks()
File
- migrate/
hosting_migrate.module, line 3
Code
function hosting_migrate_hosting_tasks($node) {
$options = array();
if ($node->type == 'site') {
if ($node->site_status == HOSTING_SITE_ENABLED) {
$options['migrate'] = array(
'title' => t('Migrate'),
'description' => t('Move the site to a new platform.'),
'weight' => 7,
);
}
}
return $options;
}