In Drupal 7, the Media module allowed you to add fields on a file entity. I don't see this ability out of the box in Drupal 8.

How can I add fields to file entities in Drupal 8?

1 Answer 1


In D8 the module File Entity provides this feature, same as in D7. It was required by Media, so you probably installed it without noticing in D7.

The new Media package for D8 doesn't use this anymore. Instead it uses a new media entity for the extra information. There is work going on to put the media entity in core for 8.3:



Not the answer you're looking for? Browse other questions tagged or ask your own question.