You are here

function form_builder_cache_delete in Form Builder 7

Same name and namespace in other branches
  1. 6 includes/form_builder.cache.inc \form_builder_cache_delete()
  2. 7.2 includes/form_builder.cache.inc \form_builder_cache_delete()

File

includes/form_builder.cache.inc, line 33
form_builder.cache.inc Functions for temporary storage of form builder structures while editing.

Code

function form_builder_cache_delete($form_type, $form_id, $sid = NULL) {
  $form = FormBuilderLoader::instance()
    ->fromCache($form_type, $form_id, $sid)
    ->delete();
}