You are here

function static_page_deliver_html_page in Static Page 7

1 string reference to 'static_page_deliver_html_page'
static_page_page_delivery_callback_alter in ./static_page.module

File

./static_page.module, line 34

Code

function static_page_deliver_html_page($page_callback_result) {
  $node = menu_get_object();
  $body = field_get_items('node', $node, 'body');
  $static_page = isset($body[0]['value']) ? $body[0]['value'] : '';
  print $static_page;

  // Perform end-of-request tasks.
  drupal_page_footer();
}