public function facebook_pull_box::render in Facebook Pull 6
Same name and namespace in other branches
- 7.3 plugins/facebook_pull_box.inc \facebook_pull_box::render()
- 7 plugins/facebook_pull_box.inc \facebook_pull_box::render()
- 7.2 plugins/facebook_pull_box.inc \facebook_pull_box::render()
Implementation of boxes_content::options_form().
Overrides boxes_box::render
File
- plugins/
facebook_pull_box.inc, line 71
Class
- facebook_pull_box
- Boxes plugin for the Facebook Pull module.
Code
public function render() {
$content = facebook_pull_render($this->options['graph_id'], $this->options['object_type'], $this->options['app_id'], $this->options['app_secret'], array(
'limit' => $this->options['limit'],
));
$title = isset($this->title) ? check_plain($this->title) : NULL;
return array(
'delta' => $this->delta,
'title' => $title,
'subject' => $title,
'content' => $content,
);
}