You are here

function sharethis_block_block_view in Sharethis block 7

Implements hook_block_view().

File

./sharethis_block.module, line 85
Hook implementations for the sharethis_block module.

Code

function sharethis_block_block_view($delta = '') {
  $block = [];
  switch ($delta) {
    case 'sharethis':
      $block['subject'] = '';
      $block['content'] = sharethis_block_output();
      break;
  }
  return $block;
}