You are here

function ds_features_export in Display Suite 6.3

Same name and namespace in other branches
  1. 6 includes/ds.features.inc \ds_features_export()
  2. 6.2 includes/ds.features.inc \ds_features_export()

Implementation of hook_features_export().

File

includes/ds.features.inc, line 57
Features support.

Code

function ds_features_export($data, &$export, $module_name = '') {
  $pipe = array();
  foreach ($data as $module) {
    list($dependency, $feature) = explode('-', $module);
    $export['dependencies'][$dependency] = $dependency;
    $export['features']['ds'][$module] = $module;
  }
  return $pipe;
}