18.12.2018 Views

Ultimate Guide To Drupal 8.6

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Content Moderation<br />

By default, content in <strong>Drupal</strong> has two states: published (visible on the site) or unpublished (visible only to the author and site admins). However, many sites<br />

have more complex publishing needs.<br />

The content moderation module builds on top of the workflows module and <strong>Drupal</strong> 8's ability to create content revisions that are not live yet but newer<br />

than the last live version. It ships with a default "editorial workflow" with "draft," "published," and "archived" states, which are useful for state tracking in<br />

simple publishing scenarios.<br />

This workflow can either be modified and extended for more<br />

complex use cases, or another publishing workflow can be created<br />

if you plan to apply a simpler workflow to your blog posts and a<br />

more complex workflow for your press releases. Your workflow for<br />

press releases could look like: new => draft => media / asset<br />

review => legal team sign-off => published.<br />

You can also create multiple editorial roles, and restrict users'<br />

ability to move content to and from these workflow states (for<br />

example, only admins can use the restore and restore to draft<br />

transitions ).<br />

The content moderation module builds on top of the<br />

workflows module and <strong>Drupal</strong> 8's ability to create<br />

content revisions that are not live yet but newer than<br />

the last live version.<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!