function hosting_task_update_status_form in Hosting 6.2
Same name and namespace in other branches
- 7.4 task/hosting_task.module \hosting_task_update_status_form()
- 7.3 task/hosting_task.module \hosting_task_update_status_form()
1 string reference to 'hosting_task_update_status_form'
- hosting_task_view in task/
hosting_task.module - Implementation of hook_view().
File
- task/
hosting_task.module, line 694 - Web server node type is defined here.
Code
function hosting_task_update_status_form($form_state, $vid) {
$form['#prefix'] = '<div class="hosting-task-retry">';
$form['task'] = array(
'#type' => 'hidden',
'#default_value' => $vid,
);
$form['update-status'] = array(
'#type' => 'submit',
'#value' => t('Update status'),
);
$form['#suffix'] = '</div>';
return $form;
}