Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298085

The `node_revision_link_revert` views plugin should consider whether the node has translations.

$
0
0

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

  1. Write a test
  2. 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


Viewing all articles
Browse latest Browse all 298085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>