You are here

function fb_canvas_post_render_page in Drupal for Facebook 7.4

1 string reference to 'fb_canvas_post_render_page'
fb_canvas_page_alter in ./fb_canvas.module
Implements hook_page_alter().

File

./fb_canvas.module, line 91

Code

function fb_canvas_post_render_page($page, $children) {
  include drupal_get_path('module', 'fb') . '/fb.process.inc';
  $fb_app = fb_canvas_app();
  $page = fb_process($page, array(
    'add_target' => '_top',
    'absolute_links' => variable_get(FB_CANVAS_VAR_PROCESS_ABSOLUTE, TRUE),
    'to_canvas' => $fb_app['namespace'],
  ));
  return $page;
}