function twitter_block_content_type_render in Twitter Block 6
Same name and namespace in other branches
- 7 plugins/content_types/twitter_block.inc \twitter_block_content_type_render()
Render function for the block content.
1 call to twitter_block_content_type_render()
- twitter_block_content_type_admin_info in plugins/
content_types/ twitter_block.inc - Panels admin info function. Returns the info that you see in panels admin interface once you have placed the block in a pane.
1 string reference to 'twitter_block_content_type_render'
- twitter_block.inc in plugins/
content_types/ twitter_block.inc - Ctools content type plugin that shows a Twitter Block.
File
- plugins/
content_types/ twitter_block.inc, line 22 - Ctools content type plugin that shows a Twitter Block.
Code
function twitter_block_content_type_render($subtype, $conf, $args) {
$block = new stdClass();
$block->content = twitter_block_load_tweets($conf);
return $block;
}