You are here

function units_default_form_submit in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units_default/units_default.pages.inc \units_default_form_submit()

Submit handler for 'units_default_form' form.

Rebuild default units and measure entities as they might have changed during the form submit.

1 string reference to 'units_default_form_submit'
units_default_form in units_default/units_default.pages.inc
Form to manage default units and measures.

File

units_default/units_default.pages.inc, line 96
Page menu callbacks of Units default module.

Code

function units_default_form_submit($form, &$form_state) {
  entity_defaults_rebuild(array(
    'units_measure',
    'units_unit',
  ));
}