You are here

function tweetbutton_block_view in Tweet Button 7

Same name and namespace in other branches
  1. 7.2 tweetbutton.module \tweetbutton_block_view()

Implementation of hook_block_configure

File

./tweetbutton.module, line 157

Code

function tweetbutton_block_view($delta = '') {
  if ($delta == 'tweetbutton') {
    $block['subject'] = t('Tweetbutton tweet');
    $block['content'] = theme('tweetbutton_display');
    return $block;
  }
  elseif ($delta == 'tweetbutton_follow') {
    $block['subject'] = t('Tweetbutton follow');
    $block['content'] = theme('tweetbutton_follow_display');
    return $block;
  }
}