Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Issue #1086958: Switch from Media Entity to File Entity by effulgentsia: Use FileEntity instead of Media Entity. Redefine the way files are formatted in Drupal, cold fusion, etc
adding a todo for issue #1086966: Make view modes dynamic
Call up 'file' entities instead of 'media' entities in field_* calls; make the core file entity fieldable.
remove some hook_file_CRUD() implementations that are not necessary when we already have the file entity object. make sure that our file entity objects always have a bundle key set when we need it.
Make sure that file entities have a media bundle key ('type') set.
Fully removed definition of media entity. Now, we just have hook_entity_info_alter() for file entity.
Removed creation of file field on file entity. Will replace with 'extra_field'. Also removed dependency on Styles module. Will replace with lightweight formatter routing.
Removed file_usage_delete() hack made unnecessary by removing self-referential file field from the file entity. Also, made 'file' an 'extra_field' so it can be weighted in Field UI.
Removed media_load() and media_load_multiple() functions, since they're now redundant with file_load() and file_load_multiple(). Also, replaced calls to entity_load() with file_load_multiple().
Removed media_file_load() and media_entity_load(). They're unnecessary, as 'type' is automatically populated by virtue of being in the {file_managed} table. And we want loads to be as fast as possible, so removing stack calls helps.
Removing MediaEntityController. Hasn't been necessary for a while now, and especially with the move to file entities.
Unrelated to entity reorganization, but adding comment about why this redundant file is here.
Add a file_entity_api module to contain just the code needed for file entities to be fieldable and viewable. Will move the relevant Media code into here.
Initial migration of some code from Media to File Entity API
Added admin page for getting to the Field UI of a file type.
Removing "api" from file_entity modules, since a bare-bones UI is needed too.
Removing "api" from file_entity modules, since a bare-bones UI is needed too.
Doc cleanup
Some code organization cleanup
Much of the scaffolding for displaying a file entity. Now we just need to implement a UI for the 'file-displays' configuration page.
Doc and API cleanup
Added 'file-displays' UI
Fleshed out the API for assigning $file->type.
Yay. Full add/view/edit workflow is functional!
Updated file_entity_test.info to reflect dependency on file_entity.
Weird. Fieldsets without #weight can't participate in vertical tabs?
A bunch of Media module cleanup to work with new File Entity module. Probably still not working yet though.
Media field is working!
Moved image file formatter into file_entity module. Added file formatter bridge to file field formatters.
Added tester module for Media Youtube integration.
Ensuring that $file->type is never null, since Field API doesn't like it when bundle keys are null.
Removed old Media code that deals with NULL file types. File Entity now handles that.
Update function for switching to File Entity
Reinstated Media code that nags the administrator about files with missing types.
Missing type is now signified by empty string, not NULL.
Declaring all media view modes to have custom settings, as it effectively used to via prior media_enable() implementation.
Added default processing and better wysiwyg integration when Styles module not enabled.
Minor cleanup
Minor comments tweaking.
#1150812: Testing modules should be hidden by sun: Fixed Testing modules should be hidden.
#970696: Disabling and re-enabling media module throws exceptions, leaves website in unusable state. by JacobSingh | hadsie: Fixed Disabling and re-enabling media module throws exceptions, leaves website in unusable state.
#841116: Media filter sometimes sets incorrect image widths by David_Rothstein, effulgentsia: Fixed Media filter sometimes sets incorrect image widths.
Follow-up fix to #841116: Media filter sometimes sets incorrect image widths.
#1141082: Provide a UI for identifying and reverting CTools Exportables overrides of file display configurations by effulgentsia | JacobSingh: Added Provide an exportables format for declaring defaults via ctools.
#1143950: Users unable to add media through WYSIWYG without administer media permissions by aaron: Fixed Users unable to add media through WYSIWYG without administer media permissions.
#1026790: Allow view modes to be dynamically defined. by effulgentsia: Change per-view-mode media field formatters to single formatter with a setting.
#1064502: Fatal error: Cannot use object of type stdClass as array in modules/field/field.form.inc on line 193 by bc, sreynen, JacobSingh | R.Muilwijk: Fixed Fatal error: Cannot use object of type stdClass as array in modules/field/field.form.inc on line 193.
#1160462: Patch: Little form stuff... handling arrays with boolean false members or unset items by yareckon: Fixed Patch: Little form stuff... handling arrays with boolean false members or unset items.
Follow-up fix for #1160462: Patch: Little form stuff... handling arrays with boolean false members or unset items.
Added code comment linking @todo about media_small view mode to #1051090: Revamp file view modes: migrate media_small to teaser, media_large to full, media_preview to preview; deprecate link & original.
#1167298: Fatal error: Unsupported operand types in file_entity.file_api: Fixed Fatal error: Unsupported operand types in file_entity.file_api.inc
Removed media_youtube_test module, because committed the relevant code to media_youtube project.
Issue #1166168: Expose a widget for filefield and imagefield, so that media browser can be used for them by aaron: Expose a widget for filefield and imagefield, so that media browser can be used for them.
Added static cache clearing when modules are enabled/disabled.
#1076496: Change the text on the submit button when uploading multiple files by james.elliott: Added Change the text on the submit button when uploading multiple files.