You are here

function custom_formatters_clear_cache in Custom Formatters 6

9 calls to custom_formatters_clear_cache()
custom_formatters_bulk_convert_confirm_submit in ./custom_formatters.admin.inc
custom_formatters_bulk_delete_confirm_submit in ./custom_formatters.admin.inc
custom_formatters_features_revert in includes/features.inc
Implementation of hook_features_revert().
custom_formatters_formatters in ./custom_formatters.module
Get an array of all custom formatters and their settings.
custom_formatters_formatter_convert_form_submit in ./custom_formatters.admin.inc

... See full list

File

./custom_formatters.module, line 337
Contains core functions for the Custom Formatters module.

Code

function custom_formatters_clear_cache() {
  global $language;
  cache_clear_all("content_type_info:{$language->language}", content_cache_tablename());
  drupal_rebuild_theme_registry();
}