Drupal is a registered trademark of Dries Buytaert
Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). oEmbed Providers 3.0.0 Major update available for module oembed_providers (3.0.0). Emulsify Tools 2.2.0 Minor update available for module emulsify_tools (2.2.0). amazee.ai Private AI Provider 1.3.4 Minor update available for module ai_provider_amazeeio (1.3.4). highlight.js Input Filter 2.0.0 Major update available for module highlightjs_input_filter (2.0.0). Webform QR Code Element 1.4.0 Minor update available for module webform_qr_code_element (1.4.0). REMP Paywall 2.0.1 Minor update available for module remp (2.0.1). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). CRM - Contact Relationship Management 1.0.0-beta11 New beta version released for module crm (1.0.0-beta11). REMP Paywall Module remp now has official Drupal security advisory coverage.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.



This module allows you to create comparison pages for entities from a selected bundle. Users can add and remove entities from their comparison list, and each user sees only their own list.

Usage

Create an entity comparison

After installing the module, you can create, edit, or delete entity comparisons at:

/admin/structure/entity_comparison (Structure β†’ Entity comparison)

When you create an entity comparison, you need to configure the following fields:

  • Label and machine name
  • Text for the Add to comparison list link
  • Text for the Remove from comparison link
  • Maximum number of compared items ("0" = no limit)
  • Entity type
  • Bundle

You can select any bundle of any content entity type.

After creating an entity comparison, you should clear all caches.

The following items are generated automatically:

  • A view mode for the selected bundle
  • An Entity Comparison Link field
  • A block containing a link to the comparison page
  • A permission that allows users to use the comparison

Place the Entity Comparison Link

The generated Entity Comparison Link field is available in the selected bundle's view modes.

You can place it in any view mode (for example: Default, Teaser, or Full content). If an entity is not in the comparison list, the field displays a link with the configured add text (default: Add to comparison list).

If an entity is already in the comparison list, the field displays a link with the configured remove text (default: Remove from comparison).

Configure the comparison view mode

A view mode with the same machine name as the entity comparison is created automatically. In this view mode, you can choose which fields are displayed, their order, and the field formatters used for each field.

Place the generated blocks

A block with the same name as the entity comparison is created automatically. Its output is a link to the comparison page and the current number of items in the comparison list.

Permissions

Permissions are generated dynamically. When you create a new entity comparison, the following permission is created:

[LABEL]: Use entity comparison

[LABEL] is replaced with the label of the entity comparison.

Maintainers

Original development by David Czinege.
Maintenance by Kyrylo Loboda.

Activity

Total releases
1
First release
Aug 2026
Latest release
1 hour ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
4.0.3 Stable Aug 2, 2026