You are here

function wysiwyg_profile_cache_clear in Wysiwyg 7.2

Same name and namespace in other branches
  1. 6.2 wysiwyg.module \wysiwyg_profile_cache_clear()

Clear all Wysiwyg profile caches.

5 calls to wysiwyg_profile_cache_clear()
wysiwyg_features_rebuild in ./wysiwyg.features.inc
Implements hook_features_rebuild().
wysiwyg_profile_delete in ./wysiwyg.module
Deletes a profile from the database.
wysiwyg_profile_form_submit in ./wysiwyg.admin.inc
Submit callback for Wysiwyg profile form.
wysiwyg_profile_overview in ./wysiwyg.admin.inc
Display overview of setup Wysiwyg Editor profiles; menu callback.
wysiwyg_update_7204 in ./wysiwyg.install
Remove empty editor profiles and update existing profiles.

File

./wysiwyg.module, line 966

Code

function wysiwyg_profile_cache_clear() {
  entity_get_controller('wysiwyg_profile')
    ->resetCache();
  drupal_static_reset('wysiwyg_profile_load_all');
  cache_clear_all('wysiwyg_profiles', 'cache');
}