shortcut_block_view
function shortcut_block_view
shortcut_block_view($delta = '')
Implements hook_block_view().
File
- 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; } }
© 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_block_view/7.x