You are here

function menu_custom_features_rebuild in Features 7

Same name and namespace in other branches
  1. 6 includes/features.menu.inc \menu_custom_features_rebuild()
  2. 7.2 includes/features.menu.inc \menu_custom_features_rebuild()

Implements hook_features_rebuild().

1 call to menu_custom_features_rebuild()
menu_custom_features_revert in includes/features.menu.inc
Implements hook_features_revert().

File

includes/features.menu.inc, line 122

Code

function menu_custom_features_rebuild($module) {
  if ($defaults = features_get_default('menu_custom', $module)) {
    foreach ($defaults as $menu) {
      menu_save($menu);
    }
  }
}