You are here

function panelizer_export_export_callback in Panelizer 7.3

Same name and namespace in other branches
  1. 6 panelizer.module \panelizer_export_export_callback()
  2. 7 panelizer.module \panelizer_export_export_callback()
  3. 7.2 panelizer.module \panelizer_export_export_callback()

export.inc callback to properly export a panelizer default.

1 string reference to 'panelizer_export_export_callback'
panelizer_schema in ./panelizer.install
Implements hook_schema().

File

./panelizer.module, line 1140
The Panelizer module attaches panels to entities, providing default panels and allowing each panel to be configured independently by privileged users.

Code

function panelizer_export_export_callback($object, $indent) {
  $object->did = NULL;
  $output = ctools_export_object('panelizer_defaults', $object, $indent);
  $output .= panels_export_display($object->display, $indent);
  $output .= $indent . '$panelizer->display = $display;' . "\n";
  return $output;
}