You are here

function tb_megamenu_features_export in The Better Mega Menu 7

Implements hook_features_export().

File

./tb_megamenu.features.inc, line 10
Features related functions.

Code

function tb_megamenu_features_export($data, &$export, $module_name = '') {
  $export['dependencies']['tb_megamenu'] = 'tb_megamenu';
  $export['features']['tb_megamenu'] = array();
  foreach ($data as $menu_name) {
    $export['features']['tb_megamenu'][$menu_name] = $menu_name;
  }
  return $export;
}