You are here

function panels_display::clone_pane in Panels 8.3

Same name and namespace in other branches
  1. 5.2 panels.module \panels_display::clone_pane()
  2. 6.3 panels.module \panels_display::clone_pane()
  3. 6.2 panels.module \panels_display::clone_pane()
  4. 7.3 panels.module \panels_display::clone_pane()
1 call to panels_display::clone_pane()
panels_display::duplicate_pane in ./panels.module

File

./panels.module, line 428
panels.module

Class

panels_display
Forms the basis of a panel display

Code

function clone_pane($pid) {
  $pane = clone $this->content[$pid];
  $pane->uuid = ctools_uuid_generate();
  return $pane;
}