You are here

function hook_uc_product_description_alter in Ubercart 8.4

Same name and namespace in other branches
  1. 7.3 uc_product/uc_product.api.php \hook_uc_product_description_alter()

Alters the given product description.

Parameters

array $description: Description array reference.

$product: The product being described.

1 invocation of hook_uc_product_description_alter()
uc_product_get_description in uc_product/uc_product.module
Returns HTML for the product description.

File

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

Code

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