file_get_info

Retrieves information about a file.

Example

1
{{ 'fileId' | file_get_info }} => [filename => '', mimetype => ''] ...

Input

Type Parameter Description Required
string fileId The ID of the file to retrieve information for. Comes before the | sign. Required

Output

Type Description
?array Associative array containing information about the file