public function FileMetadataManagerInterface::uri in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/FileMetadataManagerInterface.php \Drupal\file_mdm\FileMetadataManagerInterface::uri()
Returns a FileMetadata object for the URI, creating it if necessary.
Parameters
string $uri: The URI to a file.
Return value
\Drupal\file_mdm\FileMetadataInterface|null The FileMetadata object for the specified URI.
1 method overrides FileMetadataManagerInterface::uri()
- FileMetadataManager::uri in src/
FileMetadataManager.php - Returns a FileMetadata object for the URI, creating it if necessary.
File
- src/
FileMetadataManagerInterface.php, line 30
Class
- FileMetadataManagerInterface
- Provides an interface for file metadata manager objects.
Namespace
Drupal\file_mdmCode
public function uri($uri);