Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module extends the Diff module to provide visual revision comparison for non-node content entities like block content, media, and taxonomy terms. It enables users to see exactly what has changed between different versions of these entities, similar to how nodes are compared.

Entity Revision Diff

Extends the Diff module to provide visual revision comparison for non-node content entities.

The Problem

Drupal 10.2+ and 11 core includes version history UI for revisionable entities (list revisions, revert, delete). However, core provides only a simple list - it does NOT include:

  • Visual diff comparison between any two revisions
  • Radio button selection for choosing which revisions to compare
  • Side-by-side or unified view of what changed

The Diff module adds this functionality, but only for nodes out of the box.

What This Module Does

Entity Revision Diff bridges this gap by integrating Diff module's comparison functionality with other entity types:

Entity Type Requires Group Group module (optional) Block Content Drupal core Media Drupal core Taxonomy Term Drupal core

Note: Node entities are handled by the Diff module directly.

Requirements

  • Drupal 10.2+ or 11
  • Diff module (2.0.0-beta4+)

Optional

  • Group - enables revision diff for Group entities

Paths

Entity Type Version History Diff Comparison Group /group/{id}/revisions /group/{id}/revisions/view/{left}/{right} Block Content /admin/content/block/{id}/revisions /admin/content/block/{id}/revisions/view/{left}/{right} Media /media/{id}/revisions /media/{id}/revisions/view/{left}/{right} Taxonomy Term /taxonomy/term/{id}/revisions /taxonomy/term/{id}/revisions/view/{left}/{right}

Features

  • Radio button selection for comparing two revisions
  • Integration with Diff module's comparison layouts (Unified, Split, Visual Inline)
  • Translation-aware revision revert forms
  • Bundle-specific revision permissions
  • Views field for current revision ID

Permissions

Global permissions

  • view all {entity_type} revisions
  • revert all {entity_type} revisions
  • delete all {entity_type} revisions

Bundle-specific permissions

Generated dynamically for each bundle:

  • view {bundle} revisions
  • revert {bundle} revisions
  • delete {bundle} revisions

Migration from entity_diff_ui

This module replaces entity_diff_ui (deprecated for Drupal 11). Key differences:

Feature entity_diff_ui entity_revision_diff Drupal 11 support No Yes Diff 2.0 API No Yes Group support No Yes Architecture Base + submodules Single unified module

All URLs and permissions remain backward compatible.

Activity

Total releases
2
First release
Jan 2026
Latest release
6 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0-beta2 Pre-release Jan 7, 2026
1.0.0-beta1 Pre-release Jan 7, 2026