| 7 shortcut.admin.inc | shortcut_max_slots() |
| 8 shortcut.admin.inc | 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.
3 calls to shortcut_max_slots()
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);
}
Login or register to post comments