You are here

function variable_realm_admin_realm_edit in Variable 7

Edit variables for realm.

1 string reference to 'variable_realm_admin_realm_edit'
variable_realm_admin_menu in variable_realm_admin/variable_realm_admin.module
Implements hook_menu().

File

variable_realm_admin/variable_realm_admin.pages.inc, line 80
Realm Admin - Pages and forms.

Code

function variable_realm_admin_realm_edit($realm_name) {
  module_load_include('form.inc', 'variable_realm');
  $realm_key = variable_realm_form_key_current($realm_name);
  $build['select'] = variable_realm_form_key_selector($realm_name, $realm_key);
  $build['form'] = drupal_get_form('variable_realm_edit_variables_form', $realm_name, $realm_key);
  return $build;
}