You are here

function _formdefaults_delete_form in Form Defaults 7

Same name and namespace in other branches
  1. 5.3 formdefaults.admin.inc \_formdefaults_delete_form()
  2. 6.2 formdefaults.admin.inc \_formdefaults_delete_form()
2 calls to _formdefaults_delete_form()
formdefaults_manage_reset_selected in ./formdefaults.admin.inc
_formdefaults_save_form in ./formdefaults.admin.inc

File

./formdefaults.admin.inc, line 66
formdefaults.admin.inc Include for formdefaults administration screen.

Code

function _formdefaults_delete_form($formid) {
  db_delete('formdefaults_forms')
    ->condition('formid', $formid)
    ->execute();
}