You are here

function hook_physical_weight_unit_info_alter in Physical Fields 7

Allows modules to alter or define additional weight units of measurement.

Parameters

&$units: The array of weight units of measurement, each one defined as an array containing a name and abbreviation.

1 invocation of hook_physical_weight_unit_info_alter()
physical_weight_units in ./physical.module
Returns an associative array of weight units of measurement.

File

./physical.api.php, line 26
Hooks provided by the Physical Fields module.

Code

function hook_physical_weight_unit_info_alter(&$units) {

  // No example.
}