You are here

function share42_block_view in Share42 - social sharing buttons 7.2

Same name and namespace in other branches
  1. 7 share42.module \share42_block_view()

Implements hook_block_view().

File

./share42.module, line 64
Main file for the Share42 module.

Code

function share42_block_view($delta = '') {
  $block = array();
  if ($delta == 'share42') {
    $block['subject'] = t('Share42');
    $block['content'] = array(
      'share42' => array(
        '#type' => 'share42_widget',
        '#id' => 'share42-block',
      ),
    );
  }
  return $block;
}