You are here

public function PictureMapping::export in Picture 7.2

Export this PictureMapping.

Return value

string The export string.

File

includes/PictureMapping.php, line 392
Picture Mapping class.

Class

PictureMapping
Picture mapping class.

Code

public function export($indent = '') {
  $this
    ->cleanMappings();
  $this->breakpoint_group = $this
    ->getBreakpointGroup() ? $this
    ->getBreakpointGroup()->machine_name : $this->breakpoint_group;
  $this->isExporting = TRUE;
  $export = ctools_export_object('picture_mapping', $this, $indent);
  $this->isExporting = TRUE;
  $this
    ->loadBreakpointGroup();
  return $export;
}