function panels_display::duplicate_pane in Panels 6.2
Same name and namespace in other branches
- 8.3 panels.module \panels_display::duplicate_pane()
- 5.2 panels.module \panels_display::duplicate_pane()
- 6.3 panels.module \panels_display::duplicate_pane()
- 7.3 panels.module \panels_display::duplicate_pane()
File
- ./
panels.module, line 491 - panels.module
Class
- panels_display
- Forms the basis of a panel display
Code
function duplicate_pane($pid, $location = FALSE) {
$pane = $this
->clone_pane($pid);
$this
->add_pane($pane, $location);
}