Problem/Motivation
On #2393339: [META] Make sure Views base fields are using Field API for formatting, and do not lose functionality, we are updating all base entity fields in entity views data so that they are using Field API for formatting rather than using generic Views handlers.
This issue is about various custom handlers from the File module:
- 'file', used in file_managed.fid, file_managed.filename
- 'file_uri', used in file_managed.uri
- 'file_filemime', used in file_managed.filemime
- 'file_extension', used in file_managed.extension
- 'file_size', used in file_managed.filesize
- 'file_status', used in file_managed.status
Proposed resolution
Change these fields to use the Field API formatter 'field' instead of the custom formatters. Should also be able to remove the custom formatters from the code base completely.
If there is missing functionality in the Field API formatters, file separate issue(s) to add that back in (especially if it would delay this patch), and add them to the meta-parent issue: #2393339: [META] Make sure Views base fields are using Field API for formatting, and do not lose functionality
Remaining tasks
Make a patch.
User interface changes
None.
API changes
Not really.