You are here

function hosting_task_retry_form in Hosting 6.2

Same name and namespace in other branches
  1. 5 task/hosting_task.module \hosting_task_retry_form()
  2. 7.4 task/hosting_task.module \hosting_task_retry_form()
  3. 7.3 task/hosting_task.module \hosting_task_retry_form()
1 string reference to 'hosting_task_retry_form'
hosting_task_view in task/hosting_task.module
Implementation of hook_view().

File

task/hosting_task.module, line 675
Web server node type is defined here.

Code

function hosting_task_retry_form($form_state, $nid) {
  $form['#prefix'] = '<div class="hosting-task-retry">';
  $form['task'] = array(
    '#type' => 'hidden',
    '#default_value' => $nid,
  );
  $form['retry'] = array(
    '#type' => 'submit',
    '#value' => t('Retry'),
  );
  $form['#suffix'] = '</div>';
  return $form;
}