You are here

function units_measure_save in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units.module \units_measure_save()

Save an entity of type 'units_measure'.

1 call to units_measure_save()
units_measure_form_submit in ./units_ui.pages.inc
Submit handler for 'units_measure_form'.

File

./units.module, line 362
Provide API for managing and converting units of measurement.

Code

function units_measure_save($entity) {
  entity_save('units_measure', $entity);
}