function filter_formats_reset

filter_formats_reset()

Resets the text format caches.

See also

filter_formats()

File

modules/filter/filter.module, line 459
Framework for handling the filtering of content.

Code

function filter_formats_reset() {
  cache_clear_all('filter_formats', 'cache', TRUE);
  cache_clear_all('filter_list_format', 'cache', TRUE);
  drupal_static_reset('filter_list_format');
  drupal_static_reset('filter_formats');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!filter!filter.module/function/filter_formats_reset/7.x