Skip navigation
Help

hook_uc_product_description_alter

7 uc_product.api.php hook_uc_product_description_alter(&$description, $product)

Alters the given product description.

Parameters

$description: Description array reference.

$product: The product being described.

Related topics

1 invocation of hook_uc_product_description_alter()

File

ubercart/uc_product/uc_product.api.php, line 158
Hooks provided by the Product module.

Code

function hook_uc_product_description_alter(&$description, $product) {
  $description['attributes']['#weight'] = 2;
}