You are here

function hosting_migrate_hosting_tasks in Hostmaster (Aegir) 6

Implementation of hook_hosting_tasks().

File

modules/hosting/migrate/hosting_migrate.module, line 46

Code

function hosting_migrate_hosting_tasks() {
  $tasks = array();
  $tasks['site']['migrate'] = array(
    'title' => t('Migrate'),
    'description' => t('Move the site to a new platform.'),
    'dialog' => TRUE,
  );
  $tasks['platform']['migrate'] = array(
    'title' => t('Migrate'),
    'description' => t('Migrate sites to a new platform.'),
    'page arguments' => array(
      'hosting_migrate_platform',
      1,
    ),
    'dialog' => TRUE,
  );
  return $tasks;
}