Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for file

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
File displays API group core/modules/file/file.module Functions to load and save information about file displays.
file_display_load function core/modules/file/file.module Returns an array with a single value. The key is the formatter name, and the value is a {file_display} array for the file type.
file_validate_svg function core/includes/file.inc Validate uploaded SVG files.
file_display_save function core/modules/file/file.module Saves a {file_display} array to config.
_file_types_build function core/modules/file/file.module Builds and returns the list of available file types.
file_is_writeable function core/modules/file/file.module Check if a file entity is considered writeable or not.
filetransfer.test file core/modules/simpletest/tests/filetransfer.test
FileAdminTestCase class core/modules/file/tests/file.test Test file administration page functionality.
user_profile_form function core/modules/user/user.pages.inc Form builder; edit a user account.
file_example.test file modules/examples/file_example/tests/file_example.test Tests for File Example.
BackupFile::close function core/includes/backup/backup.file.inc Close a file when we're done reading/writing.
BackupFile::write function core/includes/backup/backup.file.inc Write a line to the file.
FILE_EXISTS_ERROR constant core/includes/file.inc Flag for dealing with existing files: Do nothing and return FALSE.
file_field_insert function core/modules/file/file.field.inc Implements hook_field_insert().
file_field_update function core/modules/file/file.field.inc Implements hook_field_update().
hook_file_transfer function core/modules/file/file.api.php React to a file being downloaded.
user_file_download function core/modules/user/user.module Implements hook_file_download().
file_save_htaccess function core/includes/file.inc Creates a .htaccess file in the given directory.
file_load_multiple function core/includes/file.inc Loads file entities from the database.
file_file_download function core/modules/file/file.module Implements hook_file_download().
file_validate_size function core/includes/file.inc Checks that the file's size is below certain limits.
file_download_page function core/modules/file/file.pages.inc Menu callback; download a single file entity.
drupal_get_profile function core/includes/drupal.inc Gets the name of the currently active installation profile.
FileSaveUploadTest class core/modules/simpletest/tests/file.test Test the file_save_upload() function.
file_example_intro function modules/examples/file_example/file_example.module A simple introduction to the workings of this module.
_views_file_status function core/modules/system/views/system.views.inc
File::createAccess function core/modules/file/file.entity.inc Overrides Entity::createAccess().
file_ajax_progress function core/modules/file/file.module Ajax callback: Retrieves upload progress.
FILE_ACCESS_IGNORE constant core/modules/file/file.module Modules should return this value from hook_file_access() to not affect file access.
file_settings_form function core/modules/file/file.admin.inc Form callback for file settings.
file.mimetypes.inc file core/includes/file.mimetypes.inc Provides mimetype mappings.
hook_file_validate function core/modules/system/system.api.php Check that files meet a given criteria.
FileAccessTestCase class core/modules/file/tests/file.test Tests the file entity access API.
hook_file_download function core/modules/system/system.api.php Control access to private file downloads and specify HTTP headers.
file_displays_load function core/modules/file/file.module Returns a single {file_display} array for the file type.
file_type_get_type function core/modules/file/file.module Returns the file type of the passed file or file type string.
image_file_presave function core/modules/image/image.module Implements hook_file_presave().
file_type_get_name function core/modules/file/file.module Returns the file type name of the passed file or file type string.
file_delete_action function core/modules/file/file.actions.inc Queues a file for deletion.
file_autoload_info function core/modules/file/file.module Implements hook_autoload_info().
file_admin_bar_map function core/modules/file/file.module Implements hook_admin_menu_map().
form_test.file.inc file core/modules/simpletest/tests/form_test.file.inc An include file to test loading it with the form API.
File access rights group core/modules/file/file.module The file access system determines who can do what to which files.
file_entity_access function core/modules/file/file.module Deprecated wrapper function. Determines if a user may perform the given operation on the specified file.
file_view_multiple function core/modules/file/file.module End of "defgroup file_access".
file_build_content function core/modules/file/file.module Builds a structured array representing the file's content.
BackupFile::getLog function core/includes/backup/backup.file.inc Return the array of current log messages.
FILE_EXISTS_RENAME constant core/includes/file.inc Flag for dealing with existing files: Appends number until name is unique.
file_default_scheme function core/includes/file.inc Gets the default file stream implementation.
file_field_is_empty function core/modules/file/file.field.inc Implements hook_field_is_empty().

Pages

  • « first
  • ‹ previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • next ›
  • last »

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org