function shortcut_set_name in Drupal 7
Returns the name of a shortcut set, based on a provided number.
All shortcut sets have names like "shortcut-set-N" so that they can be matched with a properly-namespaced entry in the {menu_links} table.
Parameters
$number: A number representing the shortcut set whose name should be retrieved.
Return value
A string representing the expected shortcut name.
1 call to shortcut_set_name()
- shortcut_set_get_unique_name in modules/
shortcut/ shortcut.module - Returns a unique, machine-readable shortcut set name.
File
- modules/
shortcut/ shortcut.module, line 571 - Allows users to manage customizable lists of shortcut links.
Code
function shortcut_set_name($number) {
return "shortcut-set-{$number}";
}