function shortcut_block_info in Drupal 7
Implements hook_block_info().
File
- modules/
shortcut/ shortcut.module, line 189 - Allows users to manage customizable lists of shortcut links.
Code
function shortcut_block_info() {
$blocks['shortcuts']['info'] = t('Shortcuts');
// Shortcut blocks can't be cached because each menu item can have a custom
// access callback. menu.inc manages its own caching.
$blocks['shortcuts']['cache'] = DRUPAL_NO_CACHE;
return $blocks;
}