function uc_atctweaks_product_feature in UC Add to Cart Tweaks 6
Implementation of hook_product_feature().
File
- ./
uc_atctweaks.module, line 150 - Defines a product feature to tweak the add to cart form behavior.
Code
function uc_atctweaks_product_feature() {
$features = array();
$features[] = array(
'id' => 'atctweaks',
'title' => t('Add to cart tweaks'),
'callback' => 'uc_atctweaks_feature_form',
'delete' => 'uc_atctweaks_feature_delete',
'multiple' => FALSE,
);
return $features;
}