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

Implements EntityInterface::id().

Overrides EntityInterface::id

File

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

Class

File
Defines the file entity class.

Code

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