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. This means quite a bit of boilerplate code, especially for modules with multiply revisionable entities.
Proposed resolution
Create a route provider for generating revision list, revision revert form, revision delete form based derived from link templates.
Remaining tasks
Direction/decisions
Items needing discussion
- ✅Whether to continue blocking this issue on #3043321: Use generic access API for node and media revision UI, an access checker will be added and immediately deprecated.
- ❌Whether Node should use this in this issue.
- ✅Whether we should generate local tasks, or if entities should add their own.
- Revert terminology updated to be agnostic of target revision' time.
- Should we adopt Version terminology (per patch)?
Blockers
#2927077: $entity->toUrl('revision-*') should fill revision parameter on all applicable routes. per 45, 59, others.- #3043321: Use generic access API for node and media revision UI per 67.
Patch to date for this issue relies on patches in these.
User interface changes
New opt-in UI based on features already established by Node.
API changes
None
Data model changes
None.