You are here

function hosting_server_hosting_tasks in Hosting 7.4

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

Implements hook_hosting_tasks().

File

server/hosting_server.module, line 130

Code

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