shortcut_sets
function shortcut_sets
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.
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'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!shortcut!shortcut.module/function/shortcut_sets/7.x