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.

Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.