Problem/Motivation
The Revert link produced by the node_revision_link_revert
views plugin does not consider whether the content has been translated.
The plugin will always produce a node.revision_revert_confirm
link (node/123/revisions/1234/revert) where as the revision page will produce a node.revision_revert_confirm
link or a node.revision_revert_translation_confirm
link (node/123/revisions/1234/revert/en) depending on whether the node has translations or not.
Proposed resolution
Check for other translations and produce a node.revision_revert_translation_confirm
link if the node has more than one translation.
Remaining tasks
- Write a test
- Fix the plugin result
User interface changes
A different confirm form will be presented if a node has translations that allow you to select whether or not you want to "Revert content shared among translations".
API changes
Plugin output will differ whether or not the node has translations.
Data model changes
N/A