Returns an array of shortcut links, suitable for rendering.
$shortcut_set: (optional) An object representing the set whose links will be displayed. If not provided, the user's current set will be displayed.
An array of shortcut links, in the format returned by the menu system.
function shortcut_renderable_links($shortcut_set = NULL) {
if (!isset($shortcut_set)) {
$shortcut_set = shortcut_current_displayed_set();
}
return menu_tree($shortcut_set->set_name);
}