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

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

Class

File
Defines the file entity class.

Code

public $filename;