function uc_quote_content_extra_fields in Ubercart 6.2
Implements hook_content_extra_fields().
File
- shipping/
uc_quote/ uc_quote.module, line 228 - The controller module for fulfillment modules that process physical goods.
Code
function uc_quote_content_extra_fields($type_name) {
$type = node_get_types('type', $type_name);
$extra = array();
if ($type->module == 'uc_product') {
$extra['shipping'] = array(
'label' => t('Shipping'),
'description' => t('Shipping settings form.'),
'weight' => 0,
);
}
return $extra;
}