function admin_menu_form_admin_menu_theme_settings_alter in Administration menu 7.3
Implements hook_form_FORM_ID_alter().
File
- ./
admin_menu.module, line 983 - Render an administrative menu as a dropdown menu at the top of the window.
Code
function admin_menu_form_admin_menu_theme_settings_alter(&$form, &$form_state, $form_id) {
$form['exclude'] = array(
'#type' => 'fieldset',
'#title' => t('Exclude'),
'#group' => 'advanced',
);
$form['exclude']['admin_menu_exclude_paths'] = array(
'#type' => 'textarea',
'#title' => t('Exclude paths from loading administration menu'),
'#default_value' => variable_get('admin_menu_exclude_paths', ''),
'#description' => t('Add a line for each url you want to exclude. You can use wildcards at the end of the url. Example: user/*'),
);
return system_settings_form($form);
}