function hook_panelizer_clone_panelizer in Panelizer 7.3
Modify a Panelizer object when it is cloned and before it is saved.
Parameters
object $panelizer: The Panelizer object being cloned.
See also
fieldable_panels_panes_panelizer_clone_panelizer()
1 invocation of hook_panelizer_clone_panelizer()
- PanelizerEntityDefault::clone_panelizer in plugins/
entity/ PanelizerEntityDefault.class.php - Create a new, scrubbed version of a panelizer object.
File
- ./
panelizer.api.php, line 125 - Documentation for Panelizer's hooks.
Code
function hook_panelizer_clone_panelizer(&$panelizer) {
foreach ($panelizer->display->content as $pid => $pane) {
if ($pane->type == "fieldable_panels_pane") {
}
}
}