file_icon_map |
function |
core/modules/file/file.module |
Determines the generic icon MIME package based on a file's MIME type. |
file_displays |
function |
core/modules/file/file.module |
Returns the display to use for a file type in a given view mode. |
file_is_local |
function |
core/modules/file/file.module |
Check if a file entity is considered local or not. |
file_get_type |
function |
core/modules/file/file.module |
Determines file type for a given file. |
hook_file_type |
function |
core/modules/file/file.api.php |
Decides which file type (bundle) should be assigned to a file entity. |
user_file_move |
function |
core/modules/user/user.module |
Implements hook_file_move(). |
file_file_type |
function |
core/modules/file/file.file.inc |
Implements hook_file_type(). |
file_usage_add |
function |
core/includes/file.inc |
Records that a module is using a file. |
file_valid_uri |
function |
core/includes/file.inc |
Determines whether the URI has a valid scheme for file API operations. |
file_build_uri |
function |
core/includes/file.inc |
Constructs a URI to Backdrop's default files location given a relative path. |
file_file_load |
function |
core/modules/file/file.file.inc |
Implements hook_file_load(). |
file_views_api |
function |
core/modules/file/file.module |
Implements hook_views_api(). |
file_view_page |
function |
core/modules/file/file.pages.inc |
Menu callback; view a single file entity. |
file_save_data |
function |
core/includes/file.inc |
Saves a file to the specified destination and creates a database entry. |
Example: Files |
group |
modules/examples/file_example/file_example.module |
This example demonstrates how to use the file API and the stream wrappers. |
file_test_menu |
function |
core/modules/simpletest/tests/file_test.module |
Implements hook_menu(). |
file.admin.css |
file |
core/modules/file/css/file.admin.css |
Admin stylesheet for file module. |
file.views.inc |
file |
core/modules/file/views/file.views.inc |
Provide views data and handlers for file.module. |
file.field.inc |
file |
core/modules/file/file.field.inc |
Field module functionality for the File module. |
file.admin.inc |
file |
core/modules/file/file.admin.inc |
Admin page callbacks for the File module. |
file.theme.inc |
file |
core/modules/file/file.theme.inc |
Theme functions for the File module. |
FileDeleteTest |
class |
core/modules/simpletest/tests/file.test |
Deletion related tests. |
FileTestHelper |
class |
core/modules/file/tests/file.test |
Provides methods specifically for testing File module's field handling. |
file_type_form |
function |
core/modules/file/file.admin.inc |
Form constructor for the file type settings form. |
FILE_NOT_EXIST |
constant |
core/includes/install.inc |
File permission check -- File does not exist. |
file_icon_path |
function |
core/modules/file/file.module |
Creates a path to the icon for a file entity. |
FILE_TYPE_NONE |
constant |
core/modules/file/file.module |
The {file_managed}.type value when the file type has not yet been determined. |
file_hook_info |
function |
core/modules/file/file.module |
Implements hook_hook_info(). |
file_type_save |
function |
core/modules/file/file.admin.inc |
Updates an existing file type or creates a new one. |
hook_file_load |
function |
core/modules/system/system.api.php |
Load additional information into file entities. |
hook_file_copy |
function |
core/modules/system/system.api.php |
Respond to a file that has been copied. |
hook_file_move |
function |
core/modules/system/system.api.php |
Respond to a file that has been moved. |
file_type_load |
function |
core/modules/file/file.module |
Menu argument loader: Loads a file type by string. |
file.pages.inc |
file |
core/modules/file/file.pages.inc |
Supports file operations including Manage and Delete. |
file_test.info |
file |
core/modules/simpletest/tests/file_test.info |
name = "File test"
description = "Support module for file handling tests."
package = Testing
version = BACKDROP_VERSION
type = module
backdrop = 1.x
hidden = TRUE |
file_view_file |
function |
core/modules/file/file.module |
Generate an array for rendering just the file portion of a file entity. |
File interface |
group |
core/includes/file.inc |
Common file handling functions. |
hook_file_view |
function |
core/modules/file/file.api.php |
Add to files as they are viewed. |
file_views_data |
function |
core/modules/file/views/file.views.inc |
Implements hook_field_views_data(). |
file_create_url |
function |
core/includes/file.inc |
Creates a web-accessible URL for a stream to an external or local file. |
file_usage_list |
function |
core/includes/file.inc |
Determines where a file is used. |
theme_file_link |
function |
core/modules/file/file.theme.inc |
Returns HTML for a link to a file. |
theme_file_icon |
function |
core/modules/file/file.theme.inc |
Returns HTML for an image with an appropriate icon for the given file. |
file_space_used |
function |
core/includes/file.inc |
Determines total disk space used by a single user or the whole filesystem. |
file_usage_page |
function |
core/modules/file/file.pages.inc |
Page callback to show file usage information. |
file_views.test |
file |
core/modules/file/tests/file_views.test |
Contains tests for File module's Views integration. |
_file_test_form |
function |
core/modules/simpletest/tests/file_test.module |
Form to test file uploads. |
file_test_reset |
function |
core/modules/simpletest/tests/file_test.module |
Reset/initialize the history of calls to the file_* hooks. |
file.entity.inc |
file |
core/modules/file/file.entity.inc |
Entity controller and class for files. |
file.tests.info |
file |
core/modules/file/tests/file.tests.info |
[FileTaxonomyTermTestCase]
name = Taxonomy term file test
description = Tests adding a file to a non-node entity.
group = File
file = file.test
[FileManagedFileElementTestCase]
name = Managed file element test
description = Tests the managed_file… |