Révision ca0757b9
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/file_entity/views/views_handler_field_file_link_download.inc | ||
---|---|---|
24 | 24 |
$this->options['alter']['make_link'] = TRUE; |
25 | 25 |
$uri = file_entity_download_uri($file); |
26 | 26 |
$this->options['alter']['path'] = $uri['path']; |
27 |
$this->options['alter'] += $uri['options'];
|
|
27 |
$this->options['alter'] = drupal_array_merge_deep($this->options['alter'], $uri['options']);
|
|
28 | 28 |
|
29 | 29 |
$text = !empty($this->options['text']) ? $this->options['text'] : t('Download'); |
30 | 30 |
return $text; |
Formats disponibles : Unified diff
Weekly update of contrib modules