You are here

function twitter_pull_block_info in Twitter Pull 7

Same name and namespace in other branches
  1. 7.2 twitter_pull.module \twitter_pull_block_info()

File

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

Code

function twitter_pull_block_info() {
  $info = twitter_pull_block_data();
  if (!empty($info) && is_array($info)) {
    return array_map(create_function('$a', 'return array("info"=>$a->name);'), $info);
  }
  else {
    return array();
  }
}