You are here

function hosting_task_TASK_TYPE_form in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 task/hosting_task.api.php \hosting_task_TASK_TYPE_form()
  2. 7.4 task/hosting_task.api.php \hosting_task_TASK_TYPE_form()

Add fields to the task confirmation form.

Parameters

$node: The node on which the task is being called.

See also

hosting_task_confirm_form()

hosting_site_list_form()

Related topics

File

task/hosting_task.api.php, line 82
Hooks provided by the hosting tasks module.

Code

function hosting_task_TASK_TYPE_form($node) {

  // From hosting_task_clone_form()
  $form = hosting_task_migrate_form($node);
  $form['new_uri']['#description'] = t('The new domain name of the clone site.');
  return $form;
}