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
user_file_predelete function core/modules/user/user.module Implements hook_file_predelete().
file_htaccess_lines function core/includes/file.inc Returns the standard .htaccess lines that Backdrop adds to file directories.
file_unmanaged_copy function core/includes/file.inc Copies a file to a new location without database changes or hook invocation.
file_example.module file modules/examples/file_example/file_example.module Hook implementations for the File Example module.
file_unmanaged_move function core/includes/file.inc Moves a file to a new location without database changes or hook invocation. This is a powerful function that in many ways performs like an advanced version of rename().
file_test_validator function core/modules/simpletest/tests/file.test Helper validator that returns the $errors parameter.
file_munge_filename function core/includes/file.inc Modifies a filename as needed for security purposes.
_file_fields_update function core/modules/file/file.file.inc Update an entity's field values without changing anything on the entity.
file_scan_directory function core/includes/file.inc Finds all files that match a given mask in a given directory.
file_directory_temp function core/includes/file.inc Gets the path of system-appropriate temporary directory.
FILE_URL_TEST_CDN_1 constant core/modules/simpletest/tests/file_test.module
FILE_URL_TEST_CDN_2 constant core/modules/simpletest/tests/file_test.module
file_test_get_calls function core/modules/simpletest/tests/file_test.module Get the arguments passed to invocation of a given hook since file_test_reset() was last called.
_file_test_log_call function core/modules/simpletest/tests/file_test.module Store the values passed to a hook invocation.
file_test_file_load function core/modules/simpletest/tests/file_test.module Implements hook_file_load().
file_test_file_copy function core/modules/simpletest/tests/file_test.module Implements hook_file_copy().
file_test_file_move function core/modules/simpletest/tests/file_test.module Implements hook_file_move().
system_file_presave function core/modules/system/system.module Implements hook_file_presave().
FileTransfer::$port property core/includes/filetransfer/filetransfer.inc The port for this file transfer.
file_file_predelete function core/modules/file/file.module Implements hook_file_predelete().
FileTransfer::__get function core/includes/filetransfer/filetransfer.inc Implementation of the magic __get() method.
FileTransfer::chmod function core/includes/filetransfer/filetransfer.inc Changes the permissions of the specified $path (file or directory).
FileTransfer::__set function core/includes/filetransfer/filetransfer.inc Implementation of the magic __set() method.
FILE_NOT_EXECUTABLE constant core/includes/install.inc File permission check -- File is not executable.
FileNameMungingTest class core/modules/simpletest/tests/file.test Tests for file_munge_filename() and file_unmunge_filename().
_filter_get_file_id function core/modules/filter/filter.pages.inc Find a managed file ID from a url.
FilterFileUsageTest class core/modules/filter/tests/filter.test Tests for filter.module's node/entity hooks to track file usage.
FileReplaceTestCase class core/modules/file/tests/file.test Tests replacing the file associated with a file entity.
Archive_Tar::$_file property core/modules/system/system.tar.inc
hook_file_predelete function core/modules/system/system.api.php Act prior to file deletion.
hook_file_url_alter function core/modules/system/system.api.php Alter the URL to a file.
file_type_get_types function core/modules/file/file.module Returns a list of all the available file types.
file_type_get_names function core/modules/file/file.module Returns a list of available file type names.
image_file_download function core/modules/image/image.module Implements hook_file_download().
FileTransfer::$jail property core/includes/filetransfer/filetransfer.inc Full path to directory where file-transfer is restricted to.
file_type_determine function core/modules/file/file.module
BackupFile::$handle property core/includes/backup/backup.file.inc
FilePrivateTestCase class core/modules/file/tests/file.test Tests file access on private nodes.
FILE_EXISTS_REPLACE constant core/includes/file.inc Flag for dealing with existing files: Replace the existing file.
drupal_get_filename function core/includes/drupal.inc Returns and optionally sets the filename for a system resource.
file_field_displayed function core/modules/file/file.field.inc Determines whether a file should be displayed when outputting field content.
hook_file_type_alter function core/modules/file/file.api.php Alters list of file types that can be assigned to a file.
file_ensure_htaccess function core/includes/file.inc Creates a .htaccess file in each files directory if it is missing.
RetrieveFileTestCase class core/modules/system/tests/system.test Test HTTP file downloading capability.
file_create_filename function core/includes/file.inc Creates a full file path from a directory and filename.
file_delete_multiple function core/includes/file.inc Deletes files.
file_add_form_submit function core/modules/file/file.pages.inc Submit handler for the add file form.
system_file_download function core/modules/system/system.module Implements hook_file_download().
file_download_access function core/includes/file.inc Checks that the current user has access to a particular file.
file_upload_max_size function core/includes/file.inc Determines the maximum file upload size by querying the PHP settings.

Pages

  • « first
  • ‹ previous
  • …
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 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