You are here

function module_builder_edit_form_submit in Module Builder 6

Submit callback for the edit form

1 string reference to 'module_builder_edit_form_submit'
module_builder_module_builder in ./module_builder.components.inc

File

./module_builder.components.inc, line 75

Code

function module_builder_edit_form_submit($form, &$form_state) {
  module_builder_default_submit($form, $form_state);
  db_query("UPDATE {module_builder_basic} SET name = '%s' WHERE mid = %d", $form_state['values']['name'], $form_state['values']['mid']);
}