function fe_block_boxes_features_export in Features Extra 7
Same name and namespace in other branches
- 6 fe_block.module \fe_block_boxes_features_export()
Implements hook_features_export().
File
- fe_block/
fe_block.module, line 769 - Provide features components for exporting core blocks and settings.
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;
}