function cloud_zoom_preset_features_export in Cloud Zoom 6
Implementation of hook_features_export().
File
- ./
cloud_zoom.features.inc, line 12 - cloud_zoom.features.inc Contains the implementions to enable Features Exportable settings
Code
function cloud_zoom_preset_features_export($data, &$export, $module_name) {
$pipe = array();
foreach ($data as $preset) {
if ($settings = cloud_zoom_get_settings($preset)) {
$export['features']['cloud_zoom_preset'][$preset] = $preset;
$pipe['imagecache'][] = $settings['view_preset'];
$pipe['imagecache'][] = $settings['zoom_preset'];
}
}
$export['dependencies'] += array(
'features' => 'features',
'imagefield' => 'imagefield',
'imageapi' => 'imageapi',
'imagecache' => 'imagecache',
'librares' => 'libraries',
);
return $pipe;
}