You are here

function media_type_configure_formatters in D7 Media 7

@todo Remove this function after ensuring that nothing (including update functions) call it. It is deprecated with the change from media entity containing a file field to just a file entity.

3 calls to media_type_configure_formatters()
media_update_7007 in ./media.install
Changes the preview formatter for non-image types to the icon view.
media_update_7009 in ./media.install
Changes the preview formatter for video types to a square thumbnail, like for images.
media_update_7010 in ./media.install
Changes the large formatter for video types to the large file style.

File

includes/media.types.inc, line 105
Helper functions related to media types. CRUD for saving their settings mainly.

Code

function media_type_configure_formatters($name, $view_modes_to_formatters) {
}