File interface
Same name in other branches
Common file handling functions.
File
-
core/
includes/ file.inc, line 11
Functions
Title Sort descending | Deprecated | File name | Summary |
---|---|---|---|
file_build_uri | Deprecated | core/ |
Constructs a URI to Drupal's default files location given a relative path. |
file_create_url | Deprecated | core/ |
Creates a web-accessible URL for a stream to an external or local file. |
file_get_file_references | core/ |
Retrieves a list of references to a file. | |
file_munge_filename | Deprecated | core/ |
Modifies a filename as needed for security purposes. |
file_unmunge_filename | Deprecated | core/ |
Undoes the effect of file_munge_filename(). |
file_url_transform_relative | Deprecated | core/ |
Transforms an absolute URL of a local file to a relative URL. |
Constants
Title Sort descending | Deprecated | File name | Summary |
---|---|---|---|
FILE_STATUS_PERMANENT | Deprecated | core/ |
Indicates that the file is permanent and should not be deleted. |
Classes
Title Sort descending | File name | Summary |
---|---|---|
File | core/ |
Defines the file entity class. |
Interfaces
Title Sort descending | File name | Summary |
---|---|---|
FileInterface | core/ |
Defines getter and setter methods for file entity base fields. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.