function panels_renderer_editor::render in Panels 7.3
Same name and namespace in other branches
- 6.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_renderer_editor::render()
Build inner content, then hand off to layout-specified theme function for final render step.
This is the outermost method in the Panels render pipeline. It calls the inner methods, which return a content array, which is in turn passed to the theme function specified in the layout plugin.
Return value
string Themed & rendered HTML output.
Overrides panels_renderer_standard::render
1 call to panels_renderer_editor::render()
- panels_renderer_ipe::render in panels_ipe/
plugins/ display_renderers/ panels_renderer_ipe.class.php - Build inner content, then hand off to layout-specified theme function for final render step.
1 method overrides panels_renderer_editor::render()
- panels_renderer_ipe::render in panels_ipe/
plugins/ display_renderers/ panels_renderer_ipe.class.php - Build inner content, then hand off to layout-specified theme function for final render step.
File
- plugins/
display_renderers/ panels_renderer_editor.class.php, line 69 - Class file to control the main Panels editor.
Class
- panels_renderer_editor
- @file Class file to control the main Panels editor.
Code
function render() {
// Pass through to normal rendering if not in admin mode.
if (!$this->admin) {
return parent::render();
}
$this
->add_meta();
$output = '<div class="panels-dnd" id="panels-dnd-main">';
$output .= $this
->render_layout();
$output .= '</div>';
return $output;
}