function video_features_revert in Video 7.2
Same name and namespace in other branches
- 7 video.features.inc \video_features_revert()
Implements hook_features_revert().
File
- ./
video.features.inc, line 45 - Contains code to support the Features module.
Code
function video_features_revert($module) {
if ($default_presets = features_get_default('video', $module)) {
foreach (array_keys($default_presets) as $default_preset) {
Preset::deletePreset($default_preset);
}
}
}