function panels_renderer_legacy::init in Panels 6.3
File
- plugins/
display_renderers/ panels_renderer_legacy.class.php, line 42
Class
- panels_renderer_legacy
- Legacy render pipeline for a panels display.
Code
function init($plugin, &$display) {
$this->plugin = $plugin;
$this->plugins['layout'] = panels_get_layout($display->layout);
if (empty($this->plugins['layout'])) {
watchdog('panels', "Layout: @layout couldn't been found, maybe the theme is disabled.", array(
'@layout' => $display->layout,
));
}
$this->display =& $display;
}