diff --git a/file_entity.field.inc b/file_entity.field.inc index 03f50e7..ac4d427 100644 --- a/file_entity.field.inc +++ b/file_entity.field.inc @@ -157,7 +157,11 @@ function file_entity_field_formatter_settings_form($field, $instance, $view_mode ), '#default_value' => isset($settings['multiple_file_behavior']) ? $settings['multiple_file_behavior'] : 'sources', ); - } + } + //Hide 'multiple_file_behaviour' options when configuring as a file formatter. + if (($display['type'] == 'file_audio' || $display['type'] == 'file_video') && empty($field)) { + $element['multiple_file_behavior']['#access'] = FALSE; + } return $element; }