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

Implements EntityInterface::uri().

Overrides EntityInterface::uri

File

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

Class

File
Defines the file entity class.

Code

public function uri() {
  return array(
    'path' => 'file/' . $this->fid,
    'options' => array(),
  );
}