For someone evaluating whether the module is needed or not for a Drupal 7 site upgrade, it is unclear what features are in the Drupal 8 contrib module, that are not in core.

I started trying to track this down myself, gathering info from various parts:

  • From: #2603890: [entity] Entity API and project homepage:

    The Drupal 8 core Entity API is significantly improved, so most of the features provided by the Drupal 7 version are already present in Drupal core.

    The Drupal 8 version of the Entity API module is used for improvements to Drupal 8's Entity API which will be moved to Drupal core one day (development ongoing).

  • From README.txt on 8.x-1.x branch:

    @todo: Explain version compatibility pattern.
    @todo: Add overview of all items and maintainers.

    The "overview of all items" seems like a great place to start the doc improvements.

  • From browsing the codebase:

    The doc blocks and inline code documentation is very thin, to the point that if you don't already know what's going on, scanning the code doesn't help very much.

  • From scanning the issue queue:

    It is similarly very hard to figure out the status from reading issue titles, which are mostly related to tasks and bug fixes; only one of 13 open feature requests have been accepted (#2817751: Create an API for bundle plugins). If I understand correctly, that issue would let module developers / site builders write custom modules to create bundles and fields from code, instead of config. Could it be that this is really the *only* feature that's been implemented so far?

Comments

jwilson3 created an issue. See original summary.

bojanz’s picture

This is a developer-oriented module. You need it only if a module you're using (such as Commerce) needs it.

We've already moved half of this module into Drupal 8 core (in Drupal 8.1.x, 8.2.x, etc).
The biggest Entity API feature that's in progress for moving into Drupal 8.6.x is entity permissions, see #2809177: Introduce entity permission providers.

  • bojanz committed af42eee on 8.x-1.x
    Issue #2922760 by bojanz: Document Entity API for Drupal 8
    
bojanz’s picture

Status: Active » Fixed

Rewrote the README. We'll want to add a mini-tutorial for each API, but this is a good first step for RC1.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.