function units_unit_save in Units of Measurement 7.2
Same name and namespace in other branches
- 7 units.module \units_unit_save()
Save an entity of type 'units_unit'.
1 call to units_unit_save()
- units_unit_form_submit in ./
units_ui.pages.inc - Submit handler for 'units_unit_form'.
File
- ./
units.module, line 331 - Provide API for managing and converting units of measurement.
Code
function units_unit_save($entity) {
entity_save('units_unit', $entity);
}