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

Implements EntityInterface::bundle().

Overrides Entity::bundle

File

core/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;
}