1 file.module file_type_cache_reset()

Clears the file type cache.

File

core/modules/file/file.module, line 2400
Defines a "managed_file" Form API field and a "file" field for Field module.

Code

function file_type_cache_reset() {
  cache()->deletePrefix('file_types:');
  backdrop_static_reset('_file_types_build');
  entity_info_cache_clear();
}