1.20.x file.entity.inc public File::bundle()

Implements EntityInterface::bundle().

Overrides Entity::bundle

File

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

Class

File
Defines the file entity class.

Code

public function bundle() {
  return $this->type;
}