function admin_select_toolbar_suppress in Administration Menu select 7
Adds a suppress callback on behalf of toolbar.module.
See also
1 call to admin_select_toolbar_suppress()
- admin_select_page_alter in ./
admin_select.module - Implements hook_page_alter() on behalf of toolbar.module.
1 string reference to 'admin_select_toolbar_suppress'
- admin_select_admin_select_info in ./
admin_select.module - Implements hook_admin_select_info().
File
- ./
admin_select.module, line 432 - Core functionality for Administration Menu select module.
Code
function admin_select_toolbar_suppress($set = TRUE) {
$suppress =& drupal_static(__FUNCTION__, FALSE);
if (!empty($set)) {
$suppress = TRUE;
}
return $suppress;
}