Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Facets 3.0.7 Minor update available for module facets (3.0.7). Release: Superfish Dropdown Menu 8.x-1.16 Minor update available for module superfish (8.x-1.16). Release: Burndown 1.0.78 Minor update available for module burndown (1.0.78). Release: Prototype 5.6.0 Minor update available for theme prototype (5.6.0). Release: Prototype 5.5.1 Minor update available for theme prototype (5.5.1). Release: Native Observability 1.1.0 Minor update available for module native_observability (1.1.0). Release: Educare theme 1.0.0 Initial release available for theme vartheme_bs5_educare (1.0.0)! Release: Horizon Aid theme 1.0.0 Initial release available for theme vartheme_bs5_horizonaid (1.0.0)! Usage Milestone: Shortcode Module shortcode crossed 1,000 active installs. Module Revived: Entity Add Another 1.1.0 Module entity_add_another updated after 15 months of inactivity (1.1.0).

Entity Reference Deck

5 sites No security coverage

Part of the Entity ecosystem · 223 projects

View on drupal.org

Entity Reference Deck enhances entity reference fields by adding a consistent toolbar and card interface for editors to perform actions like moderation, viewing usage, or comparing revisions directly on referenced entities. It integrates with popular modules like Entity Browser and Paragraphs, offering a streamlined editing experience without requiring custom widgets.

Entity Reference Deck adds pluggable toolbar actions and erdeck-card chrome to entity reference fields. Editors get moderation, usage, diff, and other actions on reference cards without a custom widget per site.

It ships host submodules for Entity Browser and Paragraphs, feature submodules for Diff, Entity Usage, Content Moderation styling, and Paragraphs Library, an optional live Preview submodule, plus an optional Gin admin theme skin.

Features

  • Core module — action / meta / group plugin managers, card builder, global settings form, SDC components (erdeck-card, status tags, usage badges, …). Core works without Diff / Entity Usage / Content Moderation / Paragraphs Library installed.
  • Host submodule Entity Reference Deck EB — Entity Browser field widgets (optional multi-launcher with Entity Browser Multi).
  • Host submodule Entity Reference Deck Paragraphs — Paragraphs field widget and closed-row chrome (icons via ParagraphsType::getIconUrl()).
  • Feature submodule Entity Reference Deck Diff — revision compare action and modal (entity_reference_deck_diff; requires Diff).
  • Feature submodule Entity Reference Deck Usage — usage surfaces (entity_reference_deck_usage; requires Entity Usage).
  • Feature submodule Entity Reference Deck Moderation — Content Moderation–aware card styling (entity_reference_deck_moderation).
  • Feature submodule Entity Reference Deck Paragraphs Library — library item theme + type presentation (entity_reference_deck_paragraphs_library; requires the Paragraphs host and Paragraphs Library).
  • Soft-dep submodule Entity Reference Deck Preview — live front-end preview of referenced entities in cards (entity_reference_deck_preview). Does not ship iframe-resizer; install it on the site (see Additional Requirements).
  • Skin submodule Entity Reference Deck Gin — remaps --erdeck-* tokens when Gin is active.

When to use it: you want a consistent card + toolbar UX on entity reference fields (browse / reorder / edit referenced entities) with site-extensible actions, without rewriting Entity Browser or Paragraphs widgets from scratch.

Post-Installation

  1. Enable Entity Reference Deck (entity_reference_deck).
  2. Enable the host you need: entity_reference_deck_eb and/or entity_reference_deck_paragraphs (after composer require of their packages).
  3. Enable feature submodules as needed: entity_reference_deck_diff, entity_reference_deck_usage, entity_reference_deck_moderation, entity_reference_deck_paragraphs_library.
  4. Optionally enable entity_reference_deck_preview, then install iframe-resizer on the site (see Additional Requirements).
  5. Optionally enable entity_reference_deck_gin when using the Gin admin theme.
  6. Go to Configuration → Content authoring → Entity Reference Deck for global action groups, meta items, and card defaults.
  7. On Structure → Content types → [type] → Manage form display, set the entity reference field widget to an ER Deck host widget.

There is no new content type. Configuration is the module settings form plus field form-display widget settings.

Additional Requirements

  • Drupal core ^11.4
  • PHP 8.3+
  • For the EB host: Entity Browser
  • For the Paragraphs host: Paragraphs and Entity Reference Revisions
  • For Preview only: install iframe-resizer v5 on the site (not shipped with the module): composer require npm-asset/iframe-resizer--parent:^5 npm-asset/iframe-resizer--child:^5 via Asset Packagist, with npm-asset packages under web/libraries/{$name}. Expected files: /libraries/iframe-resizer--parent/index.umd.js and /libraries/iframe-resizer--child/index.umd.js.

Core only requires drupal:field. Host and feature packages are required only when you enable the matching submodule.

  • Gin — with entity_reference_deck_gin for admin token remaps.
  • Entity Browser Multi — optional with entity_reference_deck_eb; multi-launcher fields get the same deck FieldWidgetDisplay.
  • Diff — with entity_reference_deck_diff for revision compare in a modal.
  • Entity Usage — with entity_reference_deck_usage for usage surfaces.
  • Core Content Moderation — with entity_reference_deck_moderation for CM-aware card styling.
  • Paragraphs Library — with entity_reference_deck_paragraphs_library (after the Paragraphs host).
  • Responsive Preview — optional with entity_reference_deck_preview for device presets in the field toolbar.

Similar projects

  • Entity Browser — browse/select UX; this module adds card chrome and toolbar actions on top of EB (and Paragraphs) hosts.
  • Entity Browser Multi — multiple EB launchers on one field; optional soft-dep for the EB host, complementary to the deck chrome.
  • Paragraphs — nested content widgets; the Paragraphs host wraps closed rows with deck chrome.
  • Entity Reference Revisions — revision-aware entity references used with Paragraphs.

Community Documentation

Note: This project is not (yet) covered by Drupal’s security advisory policy. Use accordingly until it opts into the security team process.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2026
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta4 Pre-release 11 Jul 24, 2026
1.0.0-beta3 Pre-release 11 Jul 23, 2026
1.0.0-beta2 Pre-release 11 Jul 23, 2026