Skip to content
Snippets Groups Projects
Commit 86927782 authored by Jess's avatar Jess
Browse files

Issue #2721887 by snehi, Sonal.Sangale, gaurav.pahuja, Ashish.Dalvi, jhodgdon,...

Issue #2721887 by snehi, Sonal.Sangale, gaurav.pahuja, Ashish.Dalvi, jhodgdon, joachim, Mile23: Docs topic 'File interface' contains obsolete data
parent 2486ccd5
No related branches found
No related tags found
No related merge requests found
......@@ -33,23 +33,6 @@
* @defgroup file File interface
* @{
* Common file handling functions.
*
* Fields on the file entity:
* - fid: File ID
* - uid: The {users}.uid of the user who is associated with the file.
* - filename: Name of the file with no path components. This may differ from
* the basename of the filepath if the file is renamed to avoid overwriting
* an existing file.
* - uri: URI of the file.
* - filemime: The file's MIME type.
* - filesize: The size of the file in bytes.
* - status: A bitmapped field indicating the status of the file. The first 8
* bits are reserved for Drupal core. The least significant bit indicates
* temporary (0) or permanent (1). Temporary files will be removed during
* cron runs if they are older than the configuration value
* "system.file.temporary_maximum_age", and if clean-up is enabled. Permanent
* files will not be removed.
* - timestamp: UNIX timestamp for the date the file was added to the database.
*/
/**
......
......@@ -13,6 +13,8 @@
/**
* Defines the file entity class.
*
* @ingroup file
*
* @ContentEntityType(
* id = "file",
* label = @Translation("File"),
......
......@@ -8,6 +8,8 @@
/**
* Defines getter and setter methods for file entity base fields.
*
* @ingroup file
*/
interface FileInterface extends ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment