You are here

public function TwitterTimelineBean::view in Twitter Timeline 7

Displays the bean.

Overrides BeanPlugin::view

File

plugins/bean/twitter_timeline.inc, line 61
Twitter Pull bean plugin.

Class

TwitterTimelineBean
@file Twitter Pull bean plugin.

Code

public function view($bean, $content, $view_mode = 'default', $langcode = NULL) {
  $content['twitter_timeline']['#markup'] = twitter_timeline_render($bean->settings['widget_id'], $bean->settings['placeholder_text'], $bean->settings['placeholder_url']);
  return $content;
}