Closed argiepiano closed 1 year ago
PR #137
@laryn, @hosef - this is a very simple PR that adds metadata for the type
property for file
entities. In D7 this metadata was added by the contrib module file_entity
.
I'll wait a few days before merging in case you want to test or have feedback. I copied-pasted (and slightly adapted to match the function names in B) from file_entity
.
For posterity, here's the file_entity
version.
LGTM :+1:
Thank you, @laryn!
Apparently the properties of file entities are not defined correctly for metadata wrappers. This may be a legacy of D7, as file entities were not full-fledged entities.Edit: All properties except type are defined in Entity Plus' file
system.info.inc
. Propertytype
needs to be added there (this property was added in D7 by thefile_entity
module