You are here

function rules_forms_clear_cache in Rules Forms Support 7.2

Clears the Rules Forms and Rules caches.

3 calls to rules_forms_clear_cache()
rules_forms_activate_confirm_form_submit in includes/rules_forms.admin.inc
Submit handler for activation of a form.
rules_forms_after_build in ./rules_forms.module
Builds property info about the form structure if necessary.
rules_forms_events_deactivate_submit in includes/rules_forms.admin.inc
Submit handler to deactivate form events.

File

./rules_forms.module, line 123
Rules Forms Support provides events, conditions, and actions for site forms.

Code

function rules_forms_clear_cache() {
  cache_clear_all('rules_forms', 'cache', TRUE);
  rules_clear_cache();
  drupal_static_reset('rules_forms_get_cache');
}