You are here

function _facebook_pull_render_block in Facebook Pull 7

Same name and namespace in other branches
  1. 6 facebook_pull.module \_facebook_pull_render_block()
  2. 7.3 facebook_pull.module \_facebook_pull_render_block()
  3. 7.2 facebook_pull.module \_facebook_pull_render_block()

Render a single block using the configured settings.

1 call to _facebook_pull_render_block()
facebook_pull_block_view in ./facebook_pull.module
Implementation of hook_block_view().

File

./facebook_pull.module, line 308

Code

function _facebook_pull_render_block() {
  $app_id = variable_get('facebook_pull_app_id', '');
  $app_secret = variable_get('facebook_pull_app_secret', '');
  $graph_id = variable_get('facebook_pull_graph_id', '');
  $type = variable_get('facebook_pull_object_type', '');
  $limit = variable_get('facebook_pull_limit', '');
  return facebook_pull_render($graph_id, $type, $app_id, $app_secret, $options = array(
    'limit' => $limit,
  ));
}