You are here

function popup_ui_whipe_formats in Popup 7

Same name and namespace in other branches
  1. 8 modules/popup_ui/includes/popup_ui.admin.inc \popup_ui_whipe_formats()
  2. 7.x modules/popup_ui/includes/popup_ui.admin.inc \popup_ui_whipe_formats()
  3. 6.x modules/popup_ui/includes/popup_ui.admin.inc \popup_ui_whipe_formats()
1 string reference to 'popup_ui_whipe_formats'
popup_ui_menu in modules/popup_ui/popup_ui.module
Implementation of hook_menu

File

modules/popup_ui/includes/popup_ui.admin.inc, line 389

Code

function popup_ui_whipe_formats() {
  module_load_include('inc', 'popup_ui', 'includes/popup_ui.util');
  _popup_ui_formatter_settings(array());
  _popup_ui_flush_all();
  drupal_set_message(t('All filter formats have been deleted.'));
  drupal_goto('admin/config/user-interface/popup/formats');
}