function system_admin_compact_page
7.x system.module | system_admin_compact_page($mode = 'off') |
6.x system.admin.inc | system_admin_compact_page($mode = 'off') |
Menu callback; Sets whether the admin menu is in compact mode or not.
Parameters
$mode: Valid values are 'on' and 'off'.
1 string reference to 'system_admin_compact_page'
- system_menu in drupal-7.x/
modules/ system/ system.module - Implements hook_menu().
File
- drupal-7.x/
modules/ system/ system.module, line 2914 - Configuration system that lets administrators modify the workings of the site.
Code
function system_admin_compact_page($mode = 'off') {
user_cookie_save(array('admin_compact_mode' => ($mode == 'on')));
drupal_goto();
}