You are here

function file_info_cache_clear in File Entity (fieldable files) 7

Same name and namespace in other branches
  1. 7.3 file_entity.file_api.inc \file_info_cache_clear()
  2. 7.2 file_entity.file_api.inc \file_info_cache_clear()

Clears the file info cache.

2 calls to file_info_cache_clear()
file_entity_modules_disabled in ./file_entity.module
Implements hook_modules_disabled().
file_entity_modules_enabled in ./file_entity.module
Implements hook_modules_enabled().

File

./file_entity.file_api.inc, line 95
API extensions of Drupal core's file.inc.

Code

function file_info_cache_clear() {
  drupal_static_reset('file_info_file_types');
  drupal_static_reset('file_info_formatter_types');
}