You are here

function hosting_task_backup_form in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 site/hosting_site.backups.inc \hosting_task_backup_form()
  2. 7.3 site/hosting_site.backups.inc \hosting_task_backup_form()

Confirmation form for site backups.

See also

hosting_task_confirm_form().

File

site/hosting_site.backups.inc, line 12
Site backup functions.

Code

function hosting_task_backup_form($node) {
  $form['description'] = array(
    '#title' => t('Description'),
    '#type' => 'textfield',
    '#required' => FALSE,
    '#weight' => '-1',
    '#description' => "Describe the reasons for creating this backup.",
  );
  return $form;
}