from #1702700: Implementation of hook_file_default_displays makes it impossible to export image display settings via features

To reproduce:
Create a Feature which exports a display for teaser with some custom settings.
The hook_install in media will override any settings exported with Features. Reverting the feature will remove the overrides.

Comments

devin carlson’s picture

Media currently doesn't do anything with file displays in hook_install() unless you have the deprecated view modes enabled.

Marking this as a duplicate of #2104193: Default file entities are not exportable by features (Media File Entity Overridden) which is tackling issues with features in combination with #2192391: Default file entities are not exportable by features (Sibling Issue).