You are here

function units_default_default_units_measure in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units_default/units_default.module \units_default_default_units_measure()

Implements hook_default_units_measure().

File

units_default/units_default.module, line 41
Create common units and measures such as length, volume, weight, etc.

Code

function units_default_default_units_measure() {
  $settings = units_default_enabled();
  $items = array_intersect_key(_units_default_default_units_measure(), $settings);
  return $items;
}