Commit 86927782 authored by xjm's avatar xjm
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
...@@ -33,23 +33,6 @@ ...@@ -33,23 +33,6 @@
* @defgroup file File interface * @defgroup file File interface
* @{ * @{
* Common file handling functions. * 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 @@ ...@@ -13,6 +13,8 @@
/** /**
* Defines the file entity class. * Defines the file entity class.
* *
* @ingroup file
*
* @ContentEntityType( * @ContentEntityType(
* id = "file", * id = "file",
* label = @Translation("File"), * label = @Translation("File"),
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
/** /**
* Defines getter and setter methods for file entity base fields. * Defines getter and setter methods for file entity base fields.
*
* @ingroup file
*/ */
interface FileInterface extends ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface { interface FileInterface extends ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment