shortcut.module

Allows users to manage customizable lists of shortcut links.

File

modules/shortcut/shortcut.module

Functions

Name Description
shortcut_admin_paths Implements hook_admin_paths().
shortcut_block_info Implements hook_block_info().
shortcut_block_view Implements hook_block_view().
shortcut_current_displayed_set Returns the current displayed shortcut set for the provided user account.
shortcut_default_set Returns the default shortcut set for a given user account.
shortcut_help Implements hook_help().
shortcut_link_access Access callback for editing a link in a shortcut set.
shortcut_menu Implements hook_menu().
shortcut_page_alter Implements hook_page_alter().
shortcut_permission Implements hook_permission().
shortcut_preprocess_page Implements hook_preprocess_page().
shortcut_renderable_links Returns an array of shortcut links, suitable for rendering.
shortcut_sets Returns an array of all shortcut sets, keyed by the set name.
shortcut_set_assign_user Assigns a user to a particular shortcut set.
shortcut_set_delete Deletes a shortcut set.
shortcut_set_delete_access Access callback for deleting a shortcut set.
shortcut_set_edit_access Access callback for editing a shortcut set.
shortcut_set_get_unique_name Returns a unique, machine-readable shortcut set name.
shortcut_set_load Loads the data for a shortcut set.
shortcut_set_name Returns the name of a shortcut set, based on a provided number.
shortcut_set_reset_link_weights Resets the link weights in a shortcut set to match their current order.
shortcut_set_save Saves a shortcut set.
shortcut_set_switch_access Access callback for switching the shortcut set assigned to a user account.
shortcut_set_title Returns the sanitized title of a shortcut set.
shortcut_set_title_callback Returns the title of a shortcut set.
shortcut_set_title_exists Check to see if a shortcut set with the given title already exists.
shortcut_set_unassign_user Unassigns a user from any shortcut set they may have been assigned to.
shortcut_theme Implements hook_theme().
shortcut_toolbar_pre_render Pre-render function for adding shortcuts to the toolbar drawer.
shortcut_valid_link Determines if a path corresponds to a valid shortcut link.

Constants

Name Description
SHORTCUT_DEFAULT_SET_NAME The name of the default shortcut set.

© 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/7.x