function panels_display::duplicate_pane in Panels 5.2
Same name and namespace in other branches
- 8.3 panels.module \panels_display::duplicate_pane()
- 6.3 panels.module \panels_display::duplicate_pane()
- 6.2 panels.module \panels_display::duplicate_pane()
- 7.3 panels.module \panels_display::duplicate_pane()
File
- ./
panels.module, line 581 - panels.module Core API for Panels. Provides display editing and rendering capabilities.
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);
}