function devel_variable_edit_submit

Form submission handler for devel_variable_edit().

File

./devel.pages.inc, line 349

Code

function devel_variable_edit_submit($form, &$form_state) {
    variable_set($form_state['values']['name'], $form_state['values']['new']);
    drupal_set_message(t('Saved new value for %name.', array(
        '%name' => $form_state['values']['name'],
    )));
    'devel/variable';
}