Drupal Diff module provide the capability to compare the difference between node revisions.
Since Drupal 8.7.x, taxonomy, block and media have been all revisionable.
Since Drupal 10.1, the revision UI for block has been implemented by core. See #1984588: Add Block Content revision UI
After Drupal 10.2, Drupal core will provide the revision UI for media entity. See Media entities now have a new tab for viewing, reverting and deleting revisions.
The revision UI for taxonomy is currently aiming for Drupal 11. See #2936995: Add taxonomy term revision UI
This module introduces API and UI for comparing content revisions for content entities other than node.
This module consists of following sub modules:

  • Block content diff UI plugin
    Provide UI for comparing block contents.
  • Media diff UI plugin
    Provide UI for comparing media contents.
  • Taxonomy diff UI plugin
    Provide UI for comparing taxonomy terms.

REQUIREMENTS

  • Drupal core 8.7.7+
  • Diff module 8.x-1.0+

INSTALLATION

Install as you would normally install a contributed Drupal module.

CONFIGURATION

  • Enable the submodules
  • Grant permissions to account for each entity bundle type.
  • Tick the 'Create new revision' box for the Media type which you want to compare the revisions for.
  • Tick the 'Create new revision' box for the Block type which you want to compare the revisions for.
  • A new tab called 'Revisions' should show up in the Taxonomy term, Block and Media edit page, which is similar to the way how the Diff module works for Node content.
  • Go to the Diff fields settings page (/admin/config/content/diff/fields) to choose what fields you want to be compared.

Drupal 11

D10 version is currently working in progress. The develop version is compatible with D10. If you could help test it with D10, that would be appreciated.

Since Drupal 11, most of the functionalities have been implemented by Drupal core. This module won't be updated for future version.

Project information

Releases