You are here

function video_preset_delete in Video 7

Deletes a preset

2 calls to video_preset_delete()
video_features_revert in ./video.features.inc
Implementation of hook_features_revert().
video_preset_delete_confirm_submit in modules/video_ui/video.preset.inc
Execute preset deletion

File

modules/video_ui/video.preset.inc, line 721

Code

function video_preset_delete($preset_name) {

  // Delete the preset.
  db_delete('video_preset')
    ->condition('name', $preset_name)
    ->execute();

  // Rebuild Theme Registry
  drupal_theme_rebuild();
}