File types API

  1. cis7 sites/all/modules/ulmus/file_entity/file_entity.file_api.inc file_types
  2. cle7 sites/all/modules/ulmus/file_entity/file_entity.file_api.inc file_types
  3. elmsmedia7 sites/all/modules/ulmus/file_entity/file_entity.file_api.inc file_types
  4. icor7 sites/all/modules/ulmus/file_entity/file_entity.file_api.inc file_types
  5. meedjum_blog7 sites/all/modules/ulmus/file_entity/file_entity.file_api.inc file_types
  6. mooc7 sites/all/modules/ulmus/file_entity/file_entity.file_api.inc file_types

Functions to load and save information about file types.

Functions

Namesort descending Location Description
file_get_type sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Determines file type for a given file.
file_type_delete sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Deletes a file type from the database.
file_type_disable sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Disable a file type.
file_type_enable sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Enable a file type.
file_type_get_disabled_types sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Returns an array of disabled file types.
file_type_get_enabled_types sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Returns an array of enabled file types.
file_type_is_disabled sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Returns TRUE if a file type is disabled, FALSE otherwise.
file_type_is_enabled sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Returns TRUE if a file type is enabled, FALSE otherwise.
file_type_load sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Load a file type configuration object.
file_type_load_all sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Load all file type configuration objects.
file_type_load_multiple sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Load multiple file type configuration objects.
file_type_save sites/all/modules/ulmus/file_entity/file_entity.file_api.inc Updates an existing file type or creates a new one.

File

sites/all/modules/ulmus/file_entity/file_entity.file_api.inc, line 401
API extensions of Drupal core's file.inc.