function system_admin_compact_page
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'.
File
- modules/system/system.module, line 2936
- 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(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/function/system_admin_compact_page/7.x