1.20.x common.inc backdrop_render_page($page)

Renders the page, including the HTML, HEAD, and BODY tags.

Parameters

string|array $page: A string or renderable array representing the content of a page.

Return value

string: The rendered full HTML page.

File

includes/common.inc, line 6594
Common functions that many Backdrop modules will need to reference.

Code

function backdrop_render_page($page) {
  return theme('page', array('page' => render($page)));
}