1# Schema for the views plugins of the File module.
2
3
4views.argument.file_fid:
5  type: views.argument.numeric
6  label: 'File ID'
7
8views.field.file_extension:
9  type: views_field
10  label: 'File extension'
11  mapping:
12    extension_detect_tar:
13      type: boolean
14      label: 'Detect if tar is part of the extension'
15
16views.field.file:
17  type: views_field
18  label: 'File'
19  mapping:
20    link_to_file:
21      type: boolean
22      label: 'Link this field to download the file'
23
24views.field.file_filemime:
25  type: views.field.file
26  label: 'File MIME'
27  mapping:
28    filemime_image:
29      type: boolean
30      label: 'Display an icon representing the file type, instead of the MIME text (such as "image/jpeg")'
31
32views.field.file_uri:
33  type: views.field.file
34  label: 'File URI'
35  mapping:
36    file_download_path:
37      type: boolean
38      label: 'Display download path instead of file storage URI'
39
40views.filter.file_status:
41  type: views.filter.in_operator
42  label: 'File status'
43