You are here

function boxes_features_pipe_block_alter in Boxes 6

Same name and namespace in other branches
  1. 7 boxes.module \boxes_features_pipe_block_alter()

Implementation of hook_features_pipe_MODULE_alter().

File

./boxes.module, line 537

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;
    }
  }
}