function hosting_task_TASK_TYPE_form

7.x-3.x hosting_task.api.php hosting_task_TASK_TYPE_form($node)

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 80
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;
}