public function FileMetadata::getUri in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/FileMetadata.php \Drupal\file_mdm\FileMetadata::getUri()
Gets the URI of the file.
Return value
string|null The URI of the file, or a local path.
Overrides FileMetadataInterface::getUri
2 calls to FileMetadata::getUri()
- FileMetadata::copyTempToUri in src/
FileMetadata.php - Copies the local temporary file to the destination URI.
- FileMetadata::copyUriToTemp in src/
FileMetadata.php - Copies the file at URI to a local temporary file.
File
- src/
FileMetadata.php, line 93
Class
- FileMetadata
- A file metadata object.
Namespace
Drupal\file_mdmCode
public function getUri() {
return $this->uri;
}