You are here

function variable_admin_page_edit in Variable 6

Edit variable

1 string reference to 'variable_admin_page_edit'
variable_admin_menu in variable_admin/variable_admin.module
Implementation of hook_menu().

File

variable_admin/variable_admin.pages.inc, line 123
Variable API module - Admin UI

Code

function variable_admin_page_edit($name) {
  drupal_set_breadcrumb(array(
    l(t('Administer'), 'admin'),
    l(t('Site configuration'), 'admin/settings'),
    l(t('Variables'), 'admin/settings/variable'),
  ));
  $variable = variable_info($name);
  drupal_set_title($variable['title']);
  return drupal_get_form('variable_edit_form', $name);
}