You are here

function tweetbutton_block_view in Tweet Button 7.2

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

Implements hook_block_configure().

File

./tweetbutton.module, line 316

Code

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