You are here

function theme_panels_page_render_form in Panels 5.2

Same name and namespace in other branches
  1. 6.2 panels_page/panels_page.module \theme_panels_page_render_form()

Theme function to render our panel as a form.

We need to do this so that the entire display is inside the form.

File

panels_page/panels_page.module, line 773
panels_page.module

Code

function theme_panels_page_render_form($form) {
  $form['#children'] = panels_render_display($form['#display']);
  return theme('form', $form);
}