function shortcut_set_name

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

Code

function shortcut_set_name($number) {
    return "shortcut-set-{$number}";
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.