You are here

function uc_file_form_alter in Ubercart 5

Implementation of hook_form_alter().

File

uc_file/uc_file.module, line 27
Allows products to be associated with downloadable files.

Code

function uc_file_form_alter($form_id, &$form) {
  if ($form_id == "uc_product_feature_settings_form") {
    $form['#submit']['uc_file_feature_settings_submit'] = array();
    $form['#validate']['uc_file_feature_settings_validate'] = array();
  }
}