You are here

function variable_group_form in Variable 7.2

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

Form for group variables

1 string reference to 'variable_group_form'
variable_example_menu in variable_example/variable_example.module
Implements hook_menu().

File

./variable.module, line 514
Variable API module

Code

function variable_group_form($form, $form_state, $group) {
  variable_include();

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