You are here

function sharebar_block_info in ShareBar 7

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

Implements hook_block_info().

File

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

Code

function sharebar_block_info() {
  $blocks = array();
  if (variable_get('sharebar_bar_onblock', FALSE)) {
    $blocks['sharebar'] = array(
      'info' => t('Sharebar'),
    );
  }
  return $blocks;
}