function variable_admin_page_group in Variable 6
Same name and namespace in other branches
- 7.2 variable_admin/variable_admin.inc \variable_admin_page_group()
- 7 variable_admin/variable_admin.inc \variable_admin_page_group()
Variable group, edit all variables
1 string reference to 'variable_admin_page_group'
- variable_admin_menu in variable_admin/
variable_admin.module - Implementation of hook_menu().
File
- variable_admin/
variable_admin.pages.inc, line 30 - Variable API module - Admin UI
Code
function variable_admin_page_group($group) {
$groups = variable_admin_build_groups();
if (!empty($groups[$group]) && ($group_info = variable_group($group))) {
drupal_set_title($group_info['title']);
$variables = array_keys($groups[$group]);
return drupal_get_form('variable_edit_form', $variables);
}
else {
drupal_access_denied();
}
}