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

Implements EntityInterface::uri().

Overrides EntityInterface::uri

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 uri() {
  return array(
    'path' => $this->uri,
    'options' => array(),
  );
}