function shortcut_block_view
7.x shortcut.module | shortcut_block_view($delta = '') |
Implements hook_block_view().
File
- drupal-7.x/
modules/ shortcut/ shortcut.module, line 200 - Allows users to manage customizable lists of shortcut links.
Code
function shortcut_block_view($delta = '') {
if ($delta == 'shortcuts') {
$shortcut_set = shortcut_current_displayed_set();
$data['subject'] = t('@shortcut_set shortcuts', array('@shortcut_set' => $shortcut_set->title));
$data['content'] = shortcut_renderable_links($shortcut_set);
return $data;
}
}