You are here

function hosting_task_confirm_form_submit in Hosting 5

Same name and namespace in other branches
  1. 6.2 task/hosting_task.module \hosting_task_confirm_form_submit()
  2. 7.4 task/hosting_task.module \hosting_task_confirm_form_submit()
  3. 7.3 task/hosting_task.module \hosting_task_confirm_form_submit()

File

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

Code

function hosting_task_confirm_form_submit($form_id, $values) {
  hosting_add_task($values['nid'], $values['task'], $values['parameters']);
  return 'node/' . $values['nid'];
}