1. 1.16.x modules/file/file.entity.inc File::filename
  2. 1.17.x modules/file/file.entity.inc File::filename
  3. 1.18.x modules/file/file.entity.inc File::filename

Name of the file with no path components.

This may differ from the basename of the URI if the file is renamed to avoid overwriting an existing file.

Type: string

File

modules/file/file.entity.inc, line 48
Entity controller and class for files.

Class

File
Defines the file entity class.

Code

public $filename;