You are here

function uc_product_content_extra_fields in Ubercart 6.2

Implements hook_content_extra_fields().

Adds the "Product information"

File

uc_product/uc_product.module, line 964
The product module for Ubercart.

Code

function uc_product_content_extra_fields($type_name) {
  $type = node_get_types('type', $type_name);
  $extra = array();
  if ($type->module == 'uc_product') {
    $extra['base'] = array(
      'label' => t('Product information'),
      'description' => t('Product module form.'),
      'weight' => -1,
    );
  }
  return $extra;
}