Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
At the moment there is no generic revision UI, this means that every module with revisionable entities will need to create their own UI similar to the Node revision overview page (node/{node_id}/revisions.
We wanted to implement a generic UI in core #2350939: Implement a generic revision UI, but finally we will implement first it in entity API.
Proposed resolution
There are a couple of things we need to figure out / fix:
Add a generic param converter: https://github.com/fago/entity/pull/4 does thatFigure out how to generalize access control checking, WIP: https://github.com/fago/entity/pull/13- Implement JUST the version history controller: https://www.drupal.org/node/2630354 |
https://github.com/fago/entity/pull/18 - Implement revision
view: https://github.com/fago/entity/pull/15- revert:
https://github.com/fago/entity/pull/17 - edit
- delete
Comments
Comment #2
dawehner.
Comment #3
dawehnerNote: https://github.com/Jaesin/content_entity_base has that kind of revision UI as well already, but its much less generalized than it could be in entity module.
Comment #4
dawehnerComment #5
dawehnerComment #6
dawehnerComment #7
dawehnerComment #8
dawehnerComment #9
miro_dietikerI think this issue is pretty outdated. Needs update with references or to be closed in favor of the issue where implementation started..?
Comment #10
dawehnerAgreed
Comment #11
bradjones1See #2350939: Implement a generic revision UI
Comment #12
edurenye CreditAttribution: edurenye commentedThe one you pointed is a different one, first we are going to add it to entity API and when it works we will move it to Core, so it's not a duplicated issue.
Comment #13
miro_dietikerBumping this issue...
The core issue is postponed.
We are currently pushing diff forward and add great new features for comparision.
It's time to catch up in Entity API / Core with the revision tabs.
Comment #14
chr.fritschAll the PR's are merged, or already landed in core. We can un-postpone #2350939: Implement a generic revision UI and start bringing everything into core.
Comment #15
DamienMcKennaAlso: #2452523: [Meta] Offer a revisions tab for all entities
Comment #16
larowlanHow did we approach permissions here?
Comment #17
nevergone CreditAttribution: nevergone commentedPlease solve the issue. The core issue is moving very slowly, it may never be finished. :(
Comment #18
dpiThe core issue is resolved and is available in Drupal 10.1