FileUsageTestCase::setUp |
core/modules/file/tests/file.test |
Sets up a Backdrop site for running functional and integration tests. |
FileUsageTestCase::testFileUsagePage |
core/modules/file/tests/file.test |
Create a file and verify its usage information. |
FileValidateTest::testCallerValidation |
core/modules/simpletest/tests/file.test |
Test that the validators passed into are checked. |
FileValidateTest::testInsecureExtensions |
core/modules/simpletest/tests/file.test |
Tests hard-coded security check in file_validate(). |
FileValidatorTest::setUp |
core/modules/simpletest/tests/file.test |
|
FileValidatorTest::testFileValidateExtensions |
core/modules/simpletest/tests/file.test |
Test the file_validate_extensions() function. |
FileValidatorTest::testFileValidateImageResolution |
core/modules/simpletest/tests/file.test |
This ensures the resolution of a specific file is within bounds.
The image will be resized if it's too large. |
FileValidatorTest::testFileValidateIsImage |
core/modules/simpletest/tests/file.test |
This ensures a specific file is actually an image. |
FileValidatorTest::testFileValidateNameLength |
core/modules/simpletest/tests/file.test |
This will ensure the filename length is valid. |
FileValidatorTest::testFileValidateSize |
core/modules/simpletest/tests/file.test |
Test file_validate_size(). |
FileViewsTestCase::setUp |
core/modules/file/tests/file_views.test |
Sets up a Backdrop site for running functional and integration tests. |
FileViewsTestCase::testFileViewsIcon |
core/modules/file/tests/file_views.test |
Tests the File "Icon" field capability within Views. |
file_access |
core/modules/file/file.module |
Determines if a user may perform the given operation on the specified file. |
file_action_info |
core/modules/file/file.module |
Implements hook_action_info(). |
file_add_form |
core/modules/file/file.pages.inc |
Form callback for adding a file via an upload form. |
file_add_form_submit |
core/modules/file/file.pages.inc |
Submit handler for the add file form. |
file_add_form_validate |
core/modules/file/file.pages.inc |
Validation handler for file_add_form(). |
file_add_upload_step_fields |
core/modules/file/file.pages.inc |
Generate form fields for the fourth step in the add file wizard. |
file_add_upload_step_filetype |
core/modules/file/file.pages.inc |
Generate form fields for the second step in the add file wizard. |
file_add_upload_step_scheme |
core/modules/file/file.pages.inc |
Generate form fields for the third step in the add file wizard. |
file_admin_bar_map |
core/modules/file/file.module |
Implements hook_admin_menu_map(). |
file_admin_paths |
core/modules/file/file.module |
Implements hook_admin_paths(). |
file_ajax_progress |
core/modules/file/file.module |
Ajax callback: Retrieves upload progress. |
file_ajax_upload |
core/modules/file/file.module |
Ajax callback: Processes file uploads and deletions. |
file_autoload_info |
core/modules/file/file.module |
Implements hook_autoload_info(). |
file_build_content |
core/modules/file/file.module |
Builds a structured array representing the file's content. |
file_build_uri |
core/includes/file.inc |
Constructs a URI to Backdrop's default files location given a relative path. |
file_config_info |
core/modules/file/file.module |
Implements hook_config_info(). |
file_copy |
core/includes/file.inc |
Copies a file to a new location and adds a file record to the database. |
file_create_filename |
core/includes/file.inc |
Creates a full file path from a directory and filename. |
file_create_htaccess Deprecated |
core/includes/drupal.inc |
Creates a .htaccess file in the given directory. |
file_create_url |
core/includes/file.inc |
Creates a web-accessible URL for a stream to an external or local file. |
file_default_mimetype_mapping |
core/includes/file.mimetypes.inc |
Default MIME extension mapping. |
file_default_scheme |
core/includes/file.inc |
Gets the default file stream implementation. |
file_delete |
core/includes/file.inc |
Deletes a file and its database record. |
file_delete_action |
core/modules/file/file.actions.inc |
Queues a file for deletion. |
file_delete_form |
core/modules/file/file.pages.inc |
Page callback: Form constructor for the file deletion confirmation form. |
file_delete_form_submit |
core/modules/file/file.pages.inc |
Form submission handler for file_delete_form(). |
file_delete_multiple |
core/includes/file.inc |
Deletes files. |
file_delete_redirect_form |
core/modules/file/file.pages.inc |
Submit handler for delete button on file manage forms. |
file_destination |
core/includes/file.inc |
Determines the destination path for a file. |
file_directory_temp |
core/includes/file.inc |
Gets the path of system-appropriate temporary directory. |
file_display |
core/modules/file/file.module |
Returns an array containing a single display to use for a file type in a
given view mode. |
file_displays Deprecated |
core/modules/file/file.module |
Returns the display to use for a file type in a given view mode. |
file_displays_load Deprecated |
core/modules/file/file.module |
Returns a single {file_display} array for the file type. |
file_display_form |
core/modules/file/file.admin.inc |
Form callback; presents file display settings for a given view mode. |
file_display_form_submit |
core/modules/file/file.admin.inc |
Process file display settings form submissions. |
file_display_load |
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_display_save |
core/modules/file/file.module |
Saves a {file_display} array to config. |
file_download |
core/includes/file.inc |
Page callback: Handles private file transfers. |