You are here

function variable_module_form in Variable 7.2

Same name and namespace in other branches
  1. 6 variable.module \variable_module_form()
  2. 7 variable.module \variable_module_form()

Form for module variables

File

./variable.module, line 504
Variable API module

Code

function variable_module_form($form, $form_state, $module) {
  variable_include();

  // Pass on the values on the form for further reference.
  $form['#variable_module_form'] = $module;
  return variable_edit_form($form, $form_state, array_keys(variable_list_module($module)));
}