You are here

function uc_views_handler_weight in Ubercart 5

Return a formatted weight value to display in the View.

1 string reference to 'uc_views_handler_weight'
uc_product_views_tables in uc_product/uc_product.module
Implementation of hook_views_tables()

File

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

Code

function uc_views_handler_weight($fieldinfo, $fielddata, $value, $data) {
  return uc_weight_format($value);
}