function hosting_task_retry_form in Hosting 5
Same name and namespace in other branches
- 6.2 task/hosting_task.module \hosting_task_retry_form()
- 7.4 task/hosting_task.module \hosting_task_retry_form()
- 7.3 task/hosting_task.module \hosting_task_retry_form()
2 string references to 'hosting_task_retry_form'
- hosting_task_view in task/
hosting_task.module - Implementation of hook_view().
- _hosting_task_list in task/
hosting_task.module - Theme functions
File
- task/
hosting_task.module, line 269 - Web server node type is defined here.
Code
function hosting_task_retry_form($nid) {
$form['#prefix'] = '<div class="hosting-task-retry">';
$form['task'] = array(
'#type' => 'hidden',
'#default_value' => $nid,
);
$form['retry'] = array(
'#type' => 'submit',
'#value' => t('Retry failed task'),
);
$form['#suffix'] = '</div>';
return $form;
}