You are here

function panels_display::duplicate_pane in Panels 6.3

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