You are here

function devel_variable_edit_submit in Devel 6

Same name and namespace in other branches
  1. 5 devel.module \devel_variable_edit_submit()
  2. 7 devel.pages.inc \devel_variable_edit_submit()

File

./devel.module, line 1445

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';
}