You are here

function uc_file_product_feature in Ubercart 5

Same name and namespace in other branches
  1. 6.2 uc_file/uc_file.module \uc_file_product_feature()

Implementation of hook_product_feature().

File

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

Code

function uc_file_product_feature() {
  $features[] = array(
    'id' => 'file',
    'title' => t('File download'),
    'callback' => 'uc_file_feature_form',
    'delete' => 'uc_file_feature_delete',
    'settings' => 'uc_file_feature_settings',
  );
  return $features;
}