| 7 shortcut.module | shortcut_sets() |
| 8 shortcut.module | shortcut_sets() |
Returns an array of all shortcut sets, keyed by the set name.
Return value
An array of shortcut sets. Note that only the basic shortcut set properties (name and title) are returned by this function, not the list of menu links that belong to the set.
5 calls to shortcut_sets()
File
- modules/
shortcut/ shortcut.module, line 583 - Allows users to manage customizable lists of shortcut links.
Code
function shortcut_sets() {
return db_select('shortcut_set', 'ss')
->fields('ss')
->execute()
->fetchAllAssoc('set_name');
}
Login or register to post comments