Revision 2b3c8cc1
Added by Assos Assos about 9 years ago
drupal7/sites/all/modules/media/media.file_default_displays.inc | ||
---|---|---|
15 | 15 |
$file_display = new stdClass(); |
16 | 16 |
$file_display->api_version = 1; |
17 | 17 |
$file_display->name = 'audio__preview__file_field_media_large_icon'; |
18 |
$file_display->weight = 50;
|
|
18 |
$file_display->weight = 49;
|
|
19 | 19 |
$file_display->status = TRUE; |
20 |
$file_display->settings = ''; |
|
20 |
$file_display->settings = array( |
|
21 |
'image_style' => 'media_thumbnail', |
|
22 |
); |
|
21 | 23 |
$file_displays['audio__preview__file_field_media_large_icon'] = $file_display; |
22 | 24 |
|
23 | 25 |
// Document previews should be displayed using a large filetype icon. |
24 | 26 |
$file_display = new stdClass(); |
25 | 27 |
$file_display->api_version = 1; |
26 | 28 |
$file_display->name = 'document__preview__file_field_media_large_icon'; |
27 |
$file_display->weight = 50;
|
|
29 |
$file_display->weight = 49;
|
|
28 | 30 |
$file_display->status = TRUE; |
29 |
$file_display->settings = ''; |
|
31 |
$file_display->settings = array( |
|
32 |
'image_style' => 'media_thumbnail', |
|
33 |
); |
|
30 | 34 |
$file_displays['document__preview__file_field_media_large_icon'] = $file_display; |
31 | 35 |
|
32 | 36 |
// Image previews should be displayed using a large filetype icon. |
33 | 37 |
$file_display = new stdClass(); |
34 | 38 |
$file_display->api_version = 1; |
35 | 39 |
$file_display->name = 'image__preview__file_field_media_large_icon'; |
36 |
$file_display->weight = 50;
|
|
40 |
$file_display->weight = 49;
|
|
37 | 41 |
$file_display->status = TRUE; |
38 |
$file_display->settings = ''; |
|
42 |
$file_display->settings = array( |
|
43 |
'image_style' => 'media_thumbnail', |
|
44 |
); |
|
39 | 45 |
$file_displays['image__preview__file_field_media_large_icon'] = $file_display; |
40 | 46 |
|
41 | 47 |
// Video previews should be displayed using a large filetype icon. |
42 | 48 |
$file_display = new stdClass(); |
43 | 49 |
$file_display->api_version = 1; |
44 | 50 |
$file_display->name = 'video__preview__file_field_media_large_icon'; |
45 |
$file_display->weight = 50;
|
|
51 |
$file_display->weight = 49;
|
|
46 | 52 |
$file_display->status = TRUE; |
47 |
$file_display->settings = ''; |
|
53 |
$file_display->settings = array( |
|
54 |
'image_style' => 'media_thumbnail', |
|
55 |
); |
|
48 | 56 |
$file_displays['video__preview__file_field_media_large_icon'] = $file_display; |
49 | 57 |
|
50 | 58 |
return $file_displays; |
Also available in: Unified diff
Weekly update of contrib modules