You are here

function devel_variable_submit in Devel 5

File

./devel.module, line 1001

Code

function devel_variable_submit($form_id, $form_values) {
  $deletes = array_filter($form_values['variables']);
  array_walk($deletes, 'variable_del');
  drupal_set_message(format_plural(count($deletes), 'one variable deleted', '@count variables deleted'));
}