In a views listing of content, link to the content only if it is published or in a given state, otherwise print only the title without linking
- drupal views show title of unpublished node field link if published
- drupal 8 views exposed filters is between hide show based on operator
- drupal 8 views field conditionally show link if user access content plain text otherwise
- drupal 8 views field conditionally show link
Workflow states:
- Stub (published)
- Draft (private revision, does not change published (draft or ‘published’) version)
- Review (if you do editorial review, this is also a private revision but editors are pinged to look at it)
- Published (published) - ok let’s call published ‘Ready’ or ‘Public’ or ‘Full’ just to be a little less confusing.
- Unpublished (unpublished)
presumably we can get the current (published) workflow state as a ‘field’ in views, and then we can use Views Conditional to print
Or even if we have to write a sort of custom field functionality at least we have something to base the logic on!