You are here

function video_features_revert in Video 7

Same name and namespace in other branches
  1. 7.2 video.features.inc \video_features_revert()

Implementation of hook_features_revert().

File

./video.features.inc, line 44

Code

function video_features_revert($module) {
  if ($default_presets = features_get_default('video', $module)) {
    foreach (array_keys($default_presets) as $default_preset) {
      video_preset_delete($default_preset);
    }
  }
}