function panels_new_display in Panels 8.3
Same name and namespace in other branches
- 5.2 panels.module \panels_new_display()
- 6.3 panels.module \panels_new_display()
- 6.2 panels.module \panels_new_display()
- 7.3 panels.module \panels_new_display()
Creates a new display, setting the ID to our magic new id.
Related topics
1 call to panels_new_display()
- panels_print_layout in ./
panels.module - For external use: Given a layout ID and a $content array, return the panel display.
File
- ./
panels.module, line 513 - panels.module
Code
function panels_new_display() {
ctools_include('export');
$display = ctools_export_new_object('panels_display', FALSE);
$display->did = 'new';
return $display;
}