You are here

function _panels_page_prepare_display in Panels 6.2

2 calls to _panels_page_prepare_display()
panels_page_render_page_form in panels_page/panels_page.render.inc
Execute a panels_page render with an embedded form.
panels_page_render_page_normal in panels_page/panels_page.render.inc
Execute a normal (i.e., non-form embedded) panels_page render.

File

panels_page/panels_page.render.inc, line 85
panels_page.render.inc Functions utilized during the panels_page render process. On any given page request, this file is lazy-loaded by panels_page itself only after it has been absolutely verified that a panels_page render should be done.

Code

function _panels_page_prepare_display($panel_page, $args = array()) {
  $panel_page->display->args = $args;
  $panel_page->display->context = $panel_page->context;
  $panel_page->display->keywords = $panel_page->keywords;
  $panel_page->display->css_id = $panel_page->css_id;
  $panel_page->display->owner =& $panel_page;

  // TODO ref/value php4/5 compat problem?
  $panel_page->display->owner->id = $panel_page->name;
  $panel_page->display->type = 'panel_page';
}