1 file.entity.inc public File::label()

Implements EntityInterface::label().

Overrides EntityInterface::label

File

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

Class

File
Defines the file entity class.

Code

public function label() {
  return $this->filename;
}