Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
An enhanced way to control the display of your entities in Drupal through code.
Classic method
The display of entities (node, user...) in Drupal is normally configured through the Manage display UI (/admin/structure/types/manage/*/display).
Problems
- Repetitive tasks - tedious process.
- Not real FE/BE separation.
- Needs an additional module (Features) to export and deploy changes and problems derived from its use:
-
- Performance
- Increasing amount of modules
- Incomprehensible chunks of code
- ...
- Even editing directly exported code, it turns out into repeating code (
DRY).
Solution
The entity display module solves all these problems:
- Define the display of entities by code using a familiar methodology (hooks):
-
- Forget the slow UI Manage display form.
- Get rid of the "Features" module to export the configuration.
- Clean the module cache and boom! Your display will be ready.
- Reuse your element display configurations (field formatter settings) across the site.
- Real BE/FE separation. Define what elements define your display in the theme.
- Flexible definitions: group them by entity type, view mode...
And more...
- Extra fields support
- Render arrays integration (cached elements)
- Performance boost
For further information check out this presentation.
Supporting organizations:
Project information
- Module categories: Content Display
- 9 sites report using this module
- Created by jlarrubia on , updated
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
7.x-1.0-beta2
released 27 November 2017
Works with Drupal: 7.x
Development version: 7.x-1.x-dev updated 27 Nov 2017 at 15:23 UTC