[PP-2] Add a generic revision VIEW controller

Created on 11 February 2016, over 9 years ago
Updated 15 July 2025, about 18 hours ago

Problem/Motivation

Once πŸ“Œ Add a generic entity revision access checker Closed: outdated and #2666798: Add a entity revision parameter converter & route enhancer β†’ is done, we can provide a route provider which provides a revision view route, so a router, where you can see a rendered entity in a specific revision.

Entity module already provides all that code: https://github.com/fago/entity/blob/8.x-1.x/src/Routing/RevisionRoutePro... and https://github.com/fago/entity/blob/8.x-1.x/src/Controller/RevisionContr...

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

entity system

Created by

πŸ‡©πŸ‡ͺGermany dawehner

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

  • πŸ‡¬πŸ‡§United Kingdom catch

    This is still valid.

    I can't find a generic revision controller in core or another issue to add one - it would be worth someone else double checking.

    Also even if we have one, node module is definitely not using it so should check for issues to convert over too.

  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    We have Drupal\Core\Entity\Controller\EntityRevisionViewController. Node isn't using it yet, but there are existing about the conversion, it's blocked on the whole route rename thing, long chain of issues.

Production build 0.71.5 2024