You are here

function hosting_task_restore_form_validate in Hosting 6.2

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

Implementation of hook_form_alter()

File

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

Code

function hosting_task_restore_form_validate($form, &$form_state) {
  if ($form['parameters']['no_backups']) {
    form_set_error('no_backups', t('There are no valid backups available.'));
  }
}