You are here

function block_class_features_export in Block Class 7

Implements hook_features_export().

File

./block_class.features.inc, line 23
Integration with the Features module API.

Code

function block_class_features_export($data, &$export, $module_name = '') {
  $pipe = array();
  $export['dependencies']['features'] = 'features';
  $export['dependencies']['block_class'] = 'block_class';
  foreach ($data as $component) {
    $export['features']['block_class'][$component] = $component;
  }
  return $pipe;
}