shortcut_max_slots
function shortcut_max_slots
shortcut_max_slots()
Returns the maximum number of shortcut "slots" available per shortcut set.
This is used as a limitation in the user interface only.
Return value
The maximum number of shortcuts allowed to be added to a shortcut set.
File
- modules/shortcut/shortcut.admin.inc, line 16
- Administrative page callbacks for the shortcut module.
Code
function shortcut_max_slots() { return variable_get('shortcut_max_slots', 7); }
© 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!shortcut!shortcut.admin.inc/function/shortcut_max_slots/7.x