You are here

function sharebar_block_view in ShareBar 7

Same name and namespace in other branches
  1. 7.2 sharebar.module \sharebar_block_view()

Implements hook_block_view().

File

./sharebar.module, line 129
Various module information.

Code

function sharebar_block_view($delta = '') {
  $block = array();
  if (variable_get('sharebar_bar_onblock', FALSE)) {
    switch ($delta) {
      case 'sharebar':
        $block['content'] = sharebar_onblock();
        break;
    }
  }
  return $block;
}