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

Provide link to latest revision of moderated entity

$
0
0

Hi!

I have a view that lists draft nodes ( I added Content moderation state as a relationship and a filter: (Content moderation state) Content moderation state: Moderation state (=draft) ), that displays the next fields: node title as link to node, and links to edit and delete the node.

The first time when a user creates a node that needs moderation, the /node/NID/latest page does not exists
In this time my moderators need to link the node title to /node/NID to find moderation form, but in the second time, when moderator was published the node, but user edits it again, the link should be /node/NID/latest because moderation form moves to this page

Support request: I can overwrite the link in a MYMODULE_views_preprocess_field() hook implementation, but in this case how can I check node/NID/latest exists or not?
[OR]
Feature request: Second solution could be a views field called Content: Link to moderate Content like Content: Link to edit Content or Content: Link to delete Content

Is there a chance for the second?


Viewing all articles
Browse latest Browse all 295852

Trending Articles



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