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

Implements EntityInterface::id().

Overrides EntityInterface::id

File

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

Class

File
Defines the file entity class.

Code

public function id() {
  return isset($this->fid) ? $this->fid : NULL;
}