function logouttab_admin_settings in Logout Tab 5
Same name and namespace in other branches
- 6 logouttab.module \logouttab_admin_settings()
- 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 51 - 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 help page.'),
'#default_value' => variable_get('logouttab_url', 'logout'),
'#title' => t('URL'),
);
return system_settings_form($form);
}