Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

Entity Reference Tab Formatter adds an accessible tab/accordion formatter for
entity_reference and entity_reference_revisions fields. It pairs nicely with
Paragraphs but works with any referenced entity type.

  • Switch between Tabs or Accordion layouts without touching stored data.
  • Map tab titles to any referenced field, with a fallback to the entity label.
  • Render bodies as a single field, the full referenced entity (view-mode aware), or any Views block display (supports contextual filter arguments).
  • Tune accordion behaviour (single vs. multiple open items, header color/width, icon alignment).
  • Lightweight JavaScript built on Drupal core once(); no jQuery UI dependency.
  • Accessible markup and keyboard defaults keep the first panel visible even before scripts load.

Installation

  1. Install with Composer.
  2. Enable via Extend or run drush en entity_ref_tab_formatter.
  3. Clear caches.

Configuration

  1. Open Manage display for the entity reference field (e.g., a Paragraph reference field).
  2. Pick Entity reference tab formatter in the Format column.
  3. Adjust the settings:
    • Tab title field – choose the field to display in the tab/accordion header; falls back to the entity label when empty.
    • Tab body field – select a specific field, choose Views block (then pick a block display and optional comma-separated contextual arguments), or use Rendered entity (full view).
    • Rendered entity view mode – when rendering the full entity, select the view mode configured under Structure → [Bundle] → Manage display.
    • Display style – toggle Tabs vs. Accordion and set accordion options (single/multiple open items, header color, full-width header, icon alignment).
  4. Save and clear caches if needed.

Activity

Total releases
4
First release
Dec 2025
Latest release
1 month ago
Release cadence
28 days
Stability
100% stable

Release Timeline

Releases

Version Type Release date
11.3.0 Stable Mar 11, 2026
11.2.0 Stable Dec 19, 2025
11.0.1 Stable Dec 18, 2025
11.0.0 Stable Dec 16, 2025