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). 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). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). 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 provides a user interface for managing revisions of menu link content, allowing users to view a revision history and revert to previous versions. It also includes a setting to automatically create new revisions whenever menu link content is saved.

Menu link content in Drupal core was made revision-able in Drupal 8.7 but core does not include a UI. This module exposes a minimal UI for menu link content revisions.

Features

This project provides a revisions tab with a revisions log when editing individual menu link content items and a "Revisions" operation link on menu link content entities.

Post-Installation

Once installed, menu link content items will have a revisions tab. (Note: not all menu links are menu link content; some links are defined by modules or profiles and are not revision-able content.) However, currently there's no way in the interface to configure menu link content to create new revisions by default. This module provides a setting that creates automatic revisions on menu link content when they are saved.

Users of this module can either enable the automatic revisions in the module settings at /admin/config/user-interface/menu-link-content-revisions-ui or implement their own solution so that new useful revisions are created when editing menu link content.

Note that since "administer menu" is the admin permission for menu_link_content entities, users with that permission will also be able to revert and delete menu_link_content revisions.

Warning for sites upgraded from a version prior to Drupal 8.7

Warning: if your site was upgraded from a prior version of Drupal before menu link content was made revision-able, and you have menu items that date back to that time, you may experience an issue where the revision created date for a menu link item is NULL. This will cause a PHP error when viewing the revisions log because Drupal core does not check that a timestamp is valid before trying to format it. The solution can be to set the revision created date for items with a null date to the last menu link changed date using a query:

UPDATE menu_link_content_revision
    INNER JOIN menu_link_content_data
    ON menu_link_content_data.revision_id = menu_link_content_revision.revision_id 
    SET menu_link_content_revision.revision_created = menu_link_content_data.changed 
    WHERE menu_link_content_revision.revision_created IS NULL;

Activity

Total releases
4
First release
Oct 2025
Latest release
7 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Nov 21, 2025
1.0.0 Stable Oct 15, 2025
1.0.0-beta1 Pre-release Oct 8, 2025
1.0.x-dev Dev Oct 8, 2025