public function S3fsServiceInterface::convertMetadata in S3 File System 4.0.x
Same name and namespace in other branches
- 8.3 src/S3fsServiceInterface.php \Drupal\s3fs\S3fsServiceInterface::convertMetadata()
Convert file metadata returned from S3 into a metadata cache array.
Parameters
string $uri: The uri of the resource.
array $s3_metadata: An array containing the collective metadata for the object in S3. The caller may send an empty array here to indicate that the returned metadata should represent a directory.
Return value
array A file metadata cache array.
1 method overrides S3fsServiceInterface::convertMetadata()
- S3fsService::convertMetadata in src/
S3fsService.php - Convert file metadata returned from S3 into a metadata cache array.
File
- src/
S3fsServiceInterface.php, line 73
Class
- S3fsServiceInterface
- S3fs service interface.
Namespace
Drupal\s3fsCode
public function convertMetadata($uri, array $s3_metadata);