Révision ca0757b9
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/file_entity/file_entity.views.inc | ||
---|---|---|
27 | 27 |
'handler' => 'views_handler_argument_file_type', |
28 | 28 |
), |
29 | 29 |
); |
30 |
|
|
31 |
// File schema type. |
|
32 |
$data['file_managed']['schema_type'] = array( |
|
33 |
'title' => t('Schema type'), |
|
34 |
'help' => t('Filter files by schema, such as public or private.'), |
|
35 |
'filter' => array( |
|
36 |
'handler' => 'views_handler_filter_schema_type', |
|
37 |
), |
|
38 |
); |
|
39 |
|
|
30 | 40 |
// Rendered file. |
31 | 41 |
$data['file_managed']['rendered'] = array( |
32 | 42 |
'title' => t('Rendered'), |
... | ... | |
99 | 109 |
'help' => t('Provide a simple link to view the usage of the file entity.'), |
100 | 110 |
'field' => array( |
101 | 111 |
'handler' => 'views_handler_field_file_link_usage', |
112 |
'click sortable' => TRUE, |
|
102 | 113 |
'real field' => 'fid', |
103 | 114 |
'additional fields' => array( |
104 | 115 |
'fid', |
105 | 116 |
), |
106 | 117 |
), |
118 |
'sort' => array( |
|
119 |
'handler' => 'views_handler_sort', |
|
120 |
), |
|
107 | 121 |
); |
108 | 122 |
|
109 | 123 |
return $data; |
Formats disponibles : Unified diff
Weekly update of contrib modules