function beautytips_drupal_help_admin_info in BeautyTips 7.2
Same name and namespace in other branches
- 8 includes/drupal_help.inc \beautytips_drupal_help_admin_info()
- 6.2 includes/drupal_help.inc \beautytips_drupal_help_admin_info()
File
- includes/
drupal_help.inc, line 3
Code
function beautytips_drupal_help_admin_info() {
$form['beautytips_help'] = [
'#type' => 'fieldset',
'#title' => 'Help Link Tooltips',
'#collapsible' => TRUE,
'#collapsed' => TRUE,
];
$form['beautytips_help']['beautytips_drupal_help'] = [
'#type' => 'checkbox',
'#title' => 'Display Help link popups',
'#default_value' => variable_get('beautytips_drupal_help', FALSE),
];
if (module_exists('advanced_help')) {
$form['beautytips_help']['beautytips_advanced_help'] = [
'#type' => 'checkbox',
'#title' => 'Display Advanced Help link popups',
'#default_value' => variable_get('beautytips_advanced_help', FALSE),
];
}
return $form;
}