You are here

function content_menu_links_features_rebuild in Default Content 7

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

Implements hook_features_export_rebuild().

1 call to content_menu_links_features_rebuild()
content_menu_links_features_revert in ./defaultcontent.features.inc
Implements hook_features_export_revert().

File

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

Code

function content_menu_links_features_rebuild($module) {
  if ($menu_links = features_get_default('content_menu_links', $module)) {
    foreach ($menu_links as $key => $link) {
      defaultcontent_import_menu_link($key, $link);
    }
  }
}