You are here

function logouttab_admin_settings in Logout Tab 6

Same name and namespace in other branches
  1. 5 logouttab.module \logouttab_admin_settings()
  2. 7 logouttab.module \logouttab_admin_settings()

Defines the settings form.

1 string reference to 'logouttab_admin_settings'
logouttab_menu in ./logouttab.module
Implementation of hook_menu().

File

./logouttab.module, line 39
Adds a logout tab to the profile area.

Code

function logouttab_admin_settings() {
  $form['logouttab_url'] = array(
    '#type' => 'textfield',
    '#title' => t('URL for the account help page'),
    '#description' => t('Enter the relative path for the user account logout page.'),
    '#default_value' => variable_get('logouttab_url', 'logout'),
    '#title' => t('URL'),
  );
  return system_settings_form($form);
}