You are here

function twitter_pull_block_view in Twitter Pull 7.2

Same name and namespace in other branches
  1. 7 twitter_pull.module \twitter_pull_block_view()

Implementation of hook_block_view()

File

./twitter_pull.module, line 237
Twitter Pull module.

Code

function twitter_pull_block_view($delta = '') {
  $info = twitter_pull_block_data();
  $b_info = $info["{$delta}"];
  $content = twitter_pull_render($b_info->tweetkey, $b_info->title, $b_info->number_of_items, $b_info->theme_key, $b_info->lazy_load);
  return array(
    "subject" => "",
    "content" => $content,
  );
}