function system_admin_compact_page
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 modules/
system/ system.module - Implements hook_menu().
File
-
modules/
system/ system.module, line 2978
Code
function system_admin_compact_page($mode = 'off') {
user_cookie_save(array(
'admin_compact_mode' => $mode == 'on',
));
drupal_goto();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.