You are here

function content_menu_links_features_export in Default Content 7

Same name and namespace in other branches
  1. 7.2 defaultcontent.features.inc \content_menu_links_features_export()

Implements hook_features_export().

File

./defaultcontent.features.inc, line 96
Handles all features exporting functionality

Code

function content_menu_links_features_export($data, &$export, $module_name = '') {
  module_load_include('inc', 'features', 'includes/features.menu');
  $export['dependencies']['features'] = 'features';
  $export['dependencies']['menu'] = 'menu';
  $export['dependencies']['defaultcontent'] = 'defaultcontent';
  foreach ($data as $identifier) {
    $export['features']['content_menu_links'][$identifier] = $identifier;
  }
}