function rules_clear_cache
Clears the rule set cache.
9 calls to rules_clear_cache()
- RulesEvaluationException::__construct in includes/
rules.core.inc - Constructor.
- RulesPlugin::delete in includes/
rules.core.inc - Deletes configuration from database.
- RulesPlugin::save in includes/
rules.core.inc - Saves the configuration to the database.
- RulesPluginUI::buildContent in ui/
ui.core.inc - Implements RulesPluginUIInterface.
- RulesTestCase::testDependencies in tests/
rules.test - Tests handling dependencies.
File
-
./
rules.module, line 531
Code
function rules_clear_cache() {
cache_clear_all('*', 'cache_rules', TRUE);
drupal_static_reset('rules_get_cache');
drupal_static_reset('rules_fetch_data');
drupal_static_reset('rules_config_update_dirty_flag');
entity_get_controller('rules_config')->resetCache();
}