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
When i visit the comparison page (route: diff.revisions_diff), i can see the comparison.
But then i am a little bit lost. There is no possibility to get back to the overview page.
Proposed resolution
Add a "Back to overview" button
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | back_button_for-2853193-4.patch | 677 bytes | chr.fritsch |
#2 | back_button_for-2853193-2.patch | 720 bytes | chr.fritsch |
Comments
Comment #2
chr.fritschHere is the patch
Comment #4
chr.fritschMaybe it's better to use javascript to get to the previous page
Comment #5
johnchqueWe shouldn't use JS for going back to the overview page. And we also need tests. :)
Comment #6
brunodboIs there a common route for the entity version history page, i.e., a route we could point the back-link to? For nodes, we have
entity.node.version_history
, but not sure if that's a convention (entity.entity_type.version_history
) across revisionable entity types.