function shortcut_block_view

Implements hook_block_view().

File

modules/shortcut/shortcut.module, line 200

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;
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.