function fe_block_boxes_features_export in Features Extra 6
Same name and namespace in other branches
- 7 fe_block/fe_block.module \fe_block_boxes_features_export()
Implementation of hook_features_export().
File
- ./
fe_block.module, line 207
Code
function fe_block_boxes_features_export($data, &$export, $module_name = '') {
$pipe = array();
$export['dependencies']['fe_block'] = 'fe_block';
$table = 'fe_block_boxes';
// Add the components
foreach ($data as $object_name) {
$export['features'][$table][$object_name] = $object_name;
}
return $pipe;
}