You are here

function panels_display::duplicate_pane in Panels 5.2

Same name and namespace in other branches
  1. 8.3 panels.module \panels_display::duplicate_pane()
  2. 6.3 panels.module \panels_display::duplicate_pane()
  3. 6.2 panels.module \panels_display::duplicate_pane()
  4. 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);
}