function theme_panels_render_display_form in Panels 8.3
Same name and namespace in other branches
- 6.3 panels.module \theme_panels_render_display_form()
- 7.3 panels.module \theme_panels_render_display_form()
Theme function to render our panel as a form.
When rendering a display as a form, the entire display needs to be inside the <form> tag so that the form can be spread across the panes. This sets up the form system to be the main caller and we then operate as a theme function of the form.
Related topics
File
- ./
panels.module, line 871 - panels.module
Code
function theme_panels_render_display_form($vars) {
return $vars['element']['#display']
->render();
}