function devel_variable_form_submit
Same name in other branches
- 6.x-1.x devel.module \devel_variable_form_submit()
Form submission handler for devel_variable_form().
File
-
./
devel.pages.inc, line 284
Code
function devel_variable_form_submit($form, &$form_state) {
$deletes = array_filter($form_state['values']['variables']);
array_walk($deletes, 'variable_del');
if (count($deletes)) {
drupal_set_message(format_plural(count($deletes), 'One variable deleted.', '@count variables deleted.'));
}
}