function panels_renderer_single_pane::render in Panels 6.3
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
File
- plugins/
display_renderers/ panels_renderer_single_pane.class.php, line 30
Class
Code
function render() {
// If no requested pid, or requested pid does not exist,
if (empty($this->render_pid) || empty($this->display->content[$this->render_pid])) {
return NULL;
}
return $this
->render_pane($this->display->content[$this->render_pid]);
}