function panels_print_layout in Panels 5
Same name and namespace in other branches
- 8.3 panels.module \panels_print_layout()
- 5.2 panels.module \panels_print_layout()
- 6.3 panels.module \panels_print_layout()
- 6.2 panels.module \panels_print_layout()
- 7.3 panels.module \panels_print_layout()
For external use: Given a layout ID and a $content array, return the finished layout.
File
- ./
panels.module, line 786
Code
function panels_print_layout($id, $content) {
$layouts = panels_get_layouts();
$layout = $layouts[$id];
if (!$layout) {
return;
}
return panels_get_layout($layout, $content);
}