You are here

function hosting_server_hosting_tasks in Hostmaster (Aegir) 6

Implementation of hook_hosting_tasks()

File

modules/hosting/server/hosting_server.module, line 50

Code

function hosting_server_hosting_tasks() {
  $tasks = array();
  $tasks['server']['verify'] = array(
    'title' => t('Verify'),
    'description' => t('Verify that the server is correctly installed and working.'),
    'weight' => 10,
    'provision_save' => TRUE,
  );

  /**
  * @TODO: support various other tasks like Delete
   $tasks['server']['delete'] = array(
     'title' => t('Delete'),
     'description' => t('Delete the server.'),
   );
  */
  return $tasks;
}