function menu_position_features_revert in Menu Position 7
Implements hook_features_revert().
File
- ./
menu_position.features.inc, line 64 - Integration with the Features module.
Code
function menu_position_features_revert($module) {
$defaults = features_get_default('menu_position', $module);
if (empty($defaults)) {
return;
}
// Revert.
foreach ($defaults as $object) {
_menu_position_save_rule($object);
}
}