Skip to content

Explain the differences between Media entities and File entities #37

Open
@mariano-dagostino

Description

@mariano-dagostino

File entity provides interfaces for managing files. It also extends the core file entity, allowing files to be fieldable, grouped into types, viewed (using display modes) and formatted using field formatted.

vs

Media entity provides a 'base' entity for media. This is a very basic entity
which can reference to all kinds of media-objects (local files, YouTube
videos, Tweets, Instagram photos, ...). Media entity provides a relation between
Drupal and the media resource.

From those 2 descriptions from file_entity module and media_entity module, I may be hard for a site builder to decide whether to use a Fieldable entities or Media entities to achieve different use cases.

Take a look to the first 5 minutes of this video https://www.youtube.com/watch?v=vyav4VBuLng for more context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions