function boxes_features_pipe_block_alter in Boxes 7
Same name and namespace in other branches
- 6 boxes.module \boxes_features_pipe_block_alter()
Implements hook_features_pipe_MODULE_alter().
File
- ./
boxes.module, line 784 - Core functionality for boxes module.
Code
function boxes_features_pipe_block_alter(&$more, $data, $export) {
foreach ($data as $bid) {
$split = explode('-', $bid);
$module = array_shift($split);
$delta = implode('-', $split);
if ($module == 'boxes') {
$more['box'][] = $delta;
}
}
}