You are here

function hosting_server_hosting_tasks in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 server/hosting_server.module \hosting_server_hosting_tasks()
  2. 7.3 server/hosting_server.module \hosting_server_hosting_tasks()

Implementation of hook_hosting_tasks()

File

server/hosting_server.module, line 54

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;
}