Index: core/modules/media/media.module
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- core/modules/media/media.module	(revision 2e9f82158790092dd38fe33007262d00f3389937)
+++ core/modules/media/media.module	(revision )
@@ -114,3 +114,18 @@
     $variables['content'][$key] = $variables['elements'][$key];
   }
 }
+
+/**
+ * Implements hook_form_FORM_ID_alter() for 'field_ui_field_storage_add_form'.
+ */
+function media_form_field_ui_field_storage_add_form_alter(array &$form) {
+  // Set and remove the image option
+  $image = $form['add']['new_storage_type']['#options']['Reference']['image'];
+  $form['add']['new_storage_type']['#options']['General']['image'] = $image;
+  unset($form['add']['new_storage_type']['#options']['Reference']['image']);
+
+  // Set and remove the file option
+  $file = $form['add']['new_storage_type']['#options']['Reference']['file'];
+  unset($form['add']['new_storage_type']['#options']['Reference']['file']);
+  $form['add']['new_storage_type']['#options']['General']['file'] = $file;
+}
\ No newline at end of file
