function mediafront_features_revert in MediaFront 6
Same name and namespace in other branches
- 6.2 includes/mediafront.features.inc \mediafront_features_revert()
- 7.2 includes/mediafront.features.inc \mediafront_features_revert()
- 7 includes/mediafront.features.inc \mediafront_features_revert()
Implementation of hook_features_revert().
File
- includes/
mediafront.features.inc, line 40
Code
function mediafront_features_revert($module) {
if ($default_presets = features_get_default('mediafront', $module)) {
foreach (array_keys($default_presets) as $default_preset) {
mediafront_preset_delete($default_preset);
}
}
}