diff --git a/config/optional/views.view.content_revisions.yml b/config/optional/views.view.content_revisions.yml
new file mode 100644
index 0000000..b00f997
--- /dev/null
+++ b/config/optional/views.view.content_revisions.yml
@@ -0,0 +1,699 @@
+langcode: en
+status: true
+dependencies:
+  module:
+    - moderation_state
+    - node
+    - user
+id: content_revisions
+label: 'Content Revisions'
+module: views
+description: 'View the revisions of a node.'
+tag: ''
+base_table: node_field_revision
+base_field: vid
+core: 8.x
+display:
+  default:
+    display_plugin: default
+    id: default
+    display_title: Master
+    position: 0
+    display_options:
+      access:
+        type: perm
+        options:
+          perm: 'view all revisions'
+      cache:
+        type: tag
+        options: {  }
+      query:
+        type: views_query
+        options:
+          disable_sql_rewrite: false
+          distinct: false
+          replica: false
+          query_comment: ''
+          query_tags: {  }
+      exposed_form:
+        type: basic
+        options:
+          submit_button: Apply
+          reset_button: false
+          reset_button_label: Reset
+          exposed_sorts_label: 'Sort by'
+          expose_sort_order: true
+          sort_asc_label: Asc
+          sort_desc_label: Desc
+      pager:
+        type: full
+        options:
+          items_per_page: 10
+          offset: 0
+          id: 0
+          total_pages: null
+          expose:
+            items_per_page: false
+            items_per_page_label: 'Items per page'
+            items_per_page_options: '5, 10, 25, 50'
+            items_per_page_options_all: false
+            items_per_page_options_all_label: '- All -'
+            offset: false
+            offset_label: Offset
+          tags:
+            previous: '‹ Previous'
+            next: 'Next ›'
+            first: '« First'
+            last: 'Last »'
+          quantity: 9
+      style:
+        type: table
+        options:
+          grouping: {  }
+          row_class: ''
+          default_row_class: true
+          override: true
+          sticky: false
+          caption: ''
+          summary: ''
+          description: ''
+          columns:
+            changed: changed
+            uid: changed
+            link_to_revision: link_to_revision
+            revert_revision: revert_revision
+            delete_revision: delete_revision
+            dropbutton: dropbutton
+          info:
+            changed:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ' by '
+              empty_column: false
+              responsive: ''
+            uid:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            link_to_revision:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            revert_revision:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            delete_revision:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            dropbutton:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+          default: '-1'
+          empty_table: false
+      row:
+        type: fields
+      fields:
+        title:
+          id: title
+          table: node_field_revision
+          field: title
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Title
+          exclude: true
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: value
+          type: string
+          settings:
+            link_to_entity: false
+          group_column: value
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+          entity_type: node
+          entity_field: title
+          plugin_id: field
+        changed:
+          id: changed
+          table: node_field_revision
+          field: changed
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Revision
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: '{{ link_to_revision }}'
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: '{{ changed }}'
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: false
+            ellipsis: false
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: value
+          type: timestamp
+          settings:
+            date_format: short
+            custom_date_format: ''
+            timezone: ''
+          group_column: value
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+          entity_type: node
+          entity_field: changed
+          plugin_id: field
+        uid:
+          id: uid
+          table: node_field_revision
+          field: uid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Authored by'
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: target_id
+          type: entity_reference_label
+          settings:
+            link: true
+          group_column: target_id
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+          entity_type: node
+          entity_field: uid
+          plugin_id: field
+        moderation_state:
+          id: moderation_state
+          table: node_field_revision
+          field: moderation_state
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: State
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: target_id
+          type: entity_reference_label
+          settings:
+            link: false
+          group_column: target_id
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+          entity_type: node
+          entity_field: moderation_state
+          plugin_id: field
+        set_current_revision:
+          id: set_current_revision
+          table: node_field_revision
+          field: set_current_revision
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Link to set the current revision'
+          exclude: true
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          text: 'Set current'
+          entity_type: node
+          plugin_id: node_revision_link_set_current
+        link_to_revision:
+          id: link_to_revision
+          table: node_field_revision
+          field: link_to_revision
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: ''
+          exclude: true
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: true
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: false
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          text: ''
+          entity_type: node
+          plugin_id: node_revision_link
+        delete_revision:
+          id: delete_revision
+          table: node_field_revision
+          field: delete_revision
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Link to delete revision'
+          exclude: true
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          text: Delete
+          entity_type: node
+          plugin_id: node_revision_link_delete
+        dropbutton:
+          id: dropbutton
+          table: views
+          field: dropbutton
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Operations
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          fields:
+            set_current_revision: set_current_revision
+            link_to_revision: link_to_revision
+            delete_revision: delete_revision
+            changed: '0'
+            uid: '0'
+            moderation_state: '0'
+          destination: true
+          plugin_id: dropbutton
+      filters: {  }
+      sorts:
+        changed:
+          id: changed
+          table: node_field_revision
+          field: changed
+          relationship: none
+          group_type: group
+          admin_label: ''
+          order: DESC
+          exposed: false
+          expose:
+            label: ''
+          granularity: second
+          entity_type: node
+          entity_field: changed
+          plugin_id: date
+      title: 'Revisions for {{ title }}'
+      header: {  }
+      footer: {  }
+      empty: {  }
+      relationships: {  }
+      arguments:
+        nid:
+          id: nid
+          table: node_field_revision
+          field: nid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          default_action: empty
+          exception:
+            value: all
+            title_enable: false
+            title: All
+          title_enable: true
+          title: 'Revisions for <em>{{ arguments.nid }}</em>'
+          default_argument_type: fixed
+          default_argument_options:
+            argument: ''
+          default_argument_skip_url: false
+          summary_options:
+            base_path: ''
+            count: true
+            items_per_page: 25
+            override: false
+          summary:
+            sort_order: asc
+            number_of_records: 0
+            format: default_summary
+          specify_validation: false
+          validate:
+            type: none
+            fail: 'not found'
+          validate_options: {  }
+          break_phrase: false
+          not: false
+          entity_type: node
+          entity_field: nid
+          plugin_id: node_nid
+      display_extenders: {  }
+    cache_metadata:
+      max-age: 0
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url
+        - url.query_args
+        - 'user.node_grants:view'
+        - user.permissions
+      tags: {  }
+  page_1:
+    display_plugin: page
+    id: page_1
+    display_title: Page
+    position: 1
+    display_options:
+      display_extenders: {  }
+      path: node/%/revisions
+      menu:
+        type: tab
+        title: Revisions
+        description: ''
+        expanded: false
+        parent: ''
+        weight: 0
+        context: '0'
+        menu_name: main
+      enabled: true
+    cache_metadata:
+      max-age: 0
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url
+        - url.query_args
+        - 'user.node_grants:view'
+        - user.permissions
+      tags: {  }
diff --git a/config/schema/moderation_state.views.schema.yml b/config/schema/moderation_state.views.schema.yml
new file mode 100644
index 0000000..60f4db3
--- /dev/null
+++ b/config/schema/moderation_state.views.schema.yml
@@ -0,0 +1,9 @@
+# Schema for the views plugins of the moderation state module.
+
+views.field.node_revision_link_set_current:
+  type: views_field
+  label: 'Link to set the current revision'
+  mapping:
+    text:
+      type: label
+      label: 'Text to display'
diff --git a/moderation_state.info.yml b/moderation_state.info.yml
index 662d5b4..8cb912d 100644
--- a/moderation_state.info.yml
+++ b/moderation_state.info.yml
@@ -3,7 +3,6 @@ type: module
 description: Provides moderation states for content
 core: 8.x
 package: Other
-configure: moderation_state.overview
 dependencies:
   - node
   - views
diff --git a/moderation_state.views.inc b/moderation_state.views.inc
new file mode 100644
index 0000000..5a9b2de
--- /dev/null
+++ b/moderation_state.views.inc
@@ -0,0 +1,19 @@
+<?php
+/**
+ * @file
+ * Contains Views hook implementations.
+ */
+
+/**
+ * Implements hook_view_data_alter().
+ */
+function moderation_state_views_data_alter(array &$data) {
+  $data['node_field_revision']['set_current_revision'] = array(
+    'field' => array(
+      'title' => t('Link to set the current revision'),
+      'help' => t('Provide a simple link to set the revision as current.'),
+      'id' => 'node_revision_link_set_current',
+      'click sortable' => FALSE,
+    ),
+  );
+}
diff --git a/src/Plugin/Field/FieldWidget/ModerationStateWidget.php b/src/Plugin/Field/FieldWidget/ModerationStateWidget.php
index 7ffb3b9..a177110 100644
--- a/src/Plugin/Field/FieldWidget/ModerationStateWidget.php
+++ b/src/Plugin/Field/FieldWidget/ModerationStateWidget.php
@@ -7,6 +7,7 @@
 
 namespace Drupal\moderation_state\Plugin\Field\FieldWidget;
 
+use Drupal\Component\Utility\NestedArray;
 use Drupal\Core\Entity\EntityStorageInterface;
 use Drupal\Core\Entity\Query\QueryInterface;
 use Drupal\Core\Field\FieldDefinitionInterface;
@@ -137,6 +138,8 @@ class ModerationStateWidget extends OptionsSelectWidget implements ContainerFact
       ->condition('stateFrom', $default)
       ->execute();
     // Can always keep this one as is.
+    // @todo only admins etc can make new revisions of published and keep the
+    //   revision published.
     $to[$default] = $default;
     // @todo write a test for this.
     $allowed = $node_type->getThirdPartySetting('moderation_state', 'allowed_moderation_states', []);
@@ -144,7 +147,7 @@ class ModerationStateWidget extends OptionsSelectWidget implements ContainerFact
       /* @var \Drupal\moderation_state\ModerationStateTransitionInterface $transition */
       foreach ($this->moderationStateTransitionStorage->loadMultiple($from) as $id => $transition) {
         $to_state = $transition->getToState();
-        if ($this->currentUser->hasPermission('use ' . $id . 'transition') && in_array($to_state, $allowed, TRUE)) {
+        if ($this->currentUser->hasPermission('use ' . $id . ' transition') && in_array($to_state, $allowed, TRUE)) {
           $to[$to_state] = $to_state;
         }
       }
@@ -253,4 +256,25 @@ class ModerationStateWidget extends OptionsSelectWidget implements ContainerFact
   public static function isApplicable(FieldDefinitionInterface $field_definition) {
     return parent::isApplicable($field_definition) && $field_definition->getName() === 'moderation_state' && $field_definition->getTargetEntityTypeId() === 'node';
   }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function extractFormValues(FieldItemListInterface $items, array $form, FormStateInterface $form_state) {
+    $field_name = $this->fieldDefinition->getName();
+
+    // Extract the values from $form_state->getValues().
+    $path = array_merge($form['#parents'], array($field_name));
+    $key_exists = NULL;
+    // Convert the field value into expected array format.
+    $values = $form_state->getValues();
+    $value = NestedArray::getValue($values, $path, $key_exists);
+    if (!isset($value[0]['target_id'])) {
+      NestedArray::setValue($values, $path, [['target_id' => reset($value)]]);
+      $form_state->setValues($values);
+    }
+    return parent::extractFormValues($items, $form, $form_state);
+  }
+
+
 }
diff --git a/src/Plugin/views/field/RevisionLinkSetCurrent.php b/src/Plugin/views/field/RevisionLinkSetCurrent.php
new file mode 100644
index 0000000..7e906a8
--- /dev/null
+++ b/src/Plugin/views/field/RevisionLinkSetCurrent.php
@@ -0,0 +1,96 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\moderation_state\Plugin\views\field\RevisionLinkSetCurrent
+ */
+
+namespace Drupal\moderation_state\Plugin\views\field;
+
+use Drupal\Core\Access\AccessManagerInterface;
+use Drupal\Core\Entity\EntityTypeManagerInterface;
+use Drupal\node\Plugin\views\field\RevisionLinkRevert;
+use Drupal\views\ResultRow;
+use Symfony\Component\DependencyInjection\ContainerInterface;
+
+/**
+ * Provides a field handler so set a revision as current.
+ *
+ * @ingroup views_field_handlers
+ *
+ * @ViewsField("node_revision_link_set_current")
+ */
+class RevisionLinkSetCurrent extends RevisionLinkRevert {
+
+  /**
+   * The access manager service.
+   *
+   * @var \Drupal\Core\Access\AccessManagerInterface
+   */
+  protected $accessManager;
+
+  /**
+   * The entity type manager.
+   *
+   * @var \Drupal\Core\Entity\EntityTypeManagerInterface
+   */
+  protected $entityTypeManager;
+
+  /**
+   * Constructs a RevisionLinkSetCurrent object.
+   *
+   * @param array $configuration
+   *   A configuration array containing information about the plugin instance.
+   * @param string $plugin_id
+   *   The plugin_id for the plugin instance.
+   * @param mixed $plugin_definition
+   *   The plugin implementation definition.
+   * @param \Drupal\Core\Access\AccessManagerInterface $access_manager
+   *   The access manager.
+   * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
+   *   The entity type manager.
+   */
+  public function __construct(array $configuration, $plugin_id, $plugin_definition, AccessManagerInterface $access_manager, EntityTypeManagerInterface $entity_type_manager) {
+    parent::__construct($configuration, $plugin_id, $plugin_definition, $access_manager);
+    $this->entityTypeManager = $entity_type_manager;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
+    return new static(
+      $configuration,
+      $plugin_id,
+      $plugin_definition,
+      $container->get('access_manager'),
+      $container->get('entity_type.manager')
+    );
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function getDefaultLabel() {
+    return $this->t('Set current');
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function renderLink(ResultRow $row) {
+    $text = parent::renderLink($row);
+    /* @var \Drupal\node\NodeInterface $node */
+    $node = $this->getEntity($row);
+    /* @var \Drupal\node\NodeTypeInterface $node_type */
+    $node_type = $this->entityTypeManager->getStorage('node_type')->load($node->bundle());
+    if (!$node_type->getThirdPartySetting('moderation_state', 'enabled', FALSE)) {
+      // @todo write a test for this.
+      return $text;
+    }
+    if ($node->isDefaultRevision()) {
+      return '';
+    }
+    return $text;
+  }
+}
diff --git a/src/Tests/ModerationRevisionsViewTest.php b/src/Tests/ModerationRevisionsViewTest.php
new file mode 100644
index 0000000..2c45653
--- /dev/null
+++ b/src/Tests/ModerationRevisionsViewTest.php
@@ -0,0 +1,96 @@
+<?php
+
+/**
+ * @file
+ * Contains Drupal\moderation_state\Tests\ModerationRevisionsViewTest
+ */
+
+namespace Drupal\moderation_state\Tests;
+
+use Symfony\Component\CssSelector\CssSelector;
+
+/**
+ * Tests moderation state integration with the content revisions View.
+ *
+ * @group moderation_state
+ */
+class ModerationRevisionsViewTest extends ModerationStateTestBase {
+
+  use ModerationStateTestTrait;
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+    $this->drupalLogin($this->adminUser);
+    $this->createContentTypeFromUI('Moderated content', 'moderated_content', TRUE, [
+      'draft',
+      'needs_review',
+      'published'
+    ], 'draft');
+    $this->grantUserPermissionToCreateContentOfType($this->adminUser, 'moderated_content');
+  }
+
+  /**
+   * Tests the content revisions view.
+   */
+  public function testRevisionsView() {
+    $this->drupalPostForm('node/add/moderated_content', [
+      'title[0][value]' => 'moderated content',
+    ], t('Save as Draft'));
+    $nodes = \Drupal::entityTypeManager()->getStorage('node')->loadByProperties([
+      'title' => 'moderated content',
+    ]);
+    $node = reset($nodes);
+
+    $path = 'node/' . $node->id() . '/edit';
+    // Set up needs review revision.
+    $this->drupalPostForm($path, [], t('Save and transition to Needs Review'));
+    // Set up published revision.
+    $this->drupalPostForm($path, [], t('Save and transition to Published'));
+
+    $this->drupalGet('node/' . $node->id() . '/revisions');
+    $this->assertResponse(200);
+
+    $this->assertRows([
+      [
+        'moderation_state' => 'Published',
+        'operations' => ['View'],
+      ],
+      [
+        'moderation_state' => 'Needs Review',
+        'operations' => ['Set current', 'View', 'Delete'],
+      ],
+      [
+        'moderation_state' => 'Draft',
+        'operations' => ['Set current', 'View', 'Delete'],
+      ],
+    ]);
+  }
+
+  /**
+   * Asserts rendered view rows have correct operations.
+   *
+   * @param array $expected
+   *   The expected rows of the result.
+   */
+  protected function assertRows($expected = []) {
+    $actual = [];
+    $rows = $this->cssSelect('.views-table tbody tr');
+    foreach ($rows as $row) {
+      $state = trim((string) $row->xpath(CssSelector::toXPath('td.views-field-moderation-state'))[0]);
+      $ops_elems = $row->xpath(CssSelector::toXPath('ul.dropbutton li'));
+      $operations = [];
+      foreach ($ops_elems as $elem) {
+        $operations[] = trim($elem->xpath(CssSelector::toXPath('a'))[0]);
+      }
+      $actual[] = [
+        'moderation_state' => $state,
+        'operations' => $operations,
+      ];
+    }
+    $this->assertEqual($actual, $expected);
+  }
+
+}
diff --git a/src/Tests/ModerationStateNodeTypeTest.php b/src/Tests/ModerationStateNodeTypeTest.php
index bb34971..f4f5b5b 100644
--- a/src/Tests/ModerationStateNodeTypeTest.php
+++ b/src/Tests/ModerationStateNodeTypeTest.php
@@ -14,6 +14,8 @@ use Drupal\user\Entity\Role;
  */
 class ModerationStateNodeTypeTest extends ModerationStateTestBase {
 
+  use ModerationStateTestTrait;
+
   /**
    * A node type without moderation state disabled.
    */
@@ -71,55 +73,4 @@ class ModerationStateNodeTypeTest extends ModerationStateTestBase {
     $this->assertNoRaw('Save and publish');
   }
 
-  /**
-   * Creates a content-type from the UI.
-   *
-   * @param string $content_type_name
-   *   Content type human name.
-   * @param string $content_type_id
-   *   Machine name.
-   * @param bool $moderated
-   *   TRUE if should be moderated
-   * @param string[] $allowed_states
-   *   Array of allowed state IDs
-   * @param string $default_state
-   *   Default state.
-   */
-  protected function createContentTypeFromUI($content_type_name, $content_type_id, $moderated = FALSE, $allowed_states = [], $default_state = NULL) {
-    $this->drupalGet('admin/structure/types');
-    $this->clickLink('Add content type');
-    $this->assertFieldByName('enable_moderation_state');
-    $this->assertNoFieldChecked('edit-enable-moderation-state');
-    $edit = [
-      'name' => $content_type_name,
-      'type' => $content_type_id,
-    ];
-    if ($moderated) {
-      $edit['enable_moderation_state'] = 1;
-      foreach ($allowed_states as $state) {
-        $edit['allowed_moderation_states[' . $state . ']'] = 1;
-      }
-      $edit['default_moderation_state'] = $default_state;
-    }
-    $this->drupalPostForm(NULL, $edit, t('Save content type'));
-  }
-
-  /**
-   * Grants given user permission to create content of given type.
-   *
-   * @param \Drupal\Core\Session\AccountInterface $account
-   *   User to grant permission to.
-   * @param string $content_type_id
-   *   Content type ID.
-   */
-  protected function grantUserPermissionToCreateContentOfType(AccountInterface $account, $content_type_id) {
-    $role_ids = $account->getRoles(TRUE);
-    /* @var \Drupal\user\RoleInterface $role */
-    $role_id = reset($role_ids);
-    $role = Role::load($role_id);
-    $role->grantPermission(sprintf('create %s content', $content_type_id));
-    $role->grantPermission(sprintf('edit any %s content', $content_type_id));
-    $role->save();
-  }
-
 }
diff --git a/src/Tests/ModerationStateTestBase.php b/src/Tests/ModerationStateTestBase.php
index d22fd21..737e7ff 100644
--- a/src/Tests/ModerationStateTestBase.php
+++ b/src/Tests/ModerationStateTestBase.php
@@ -53,6 +53,7 @@ abstract class ModerationStateTestBase extends WebTestBase {
     'views',
     'options',
     'user',
+    'filter',
   ];
 
   /**
@@ -66,4 +67,37 @@ abstract class ModerationStateTestBase extends WebTestBase {
     $this->drupalPlaceBlock('local_actions_block', ['id' => 'actions_block']);
   }
 
+  /**
+   * Creates a content-type from the UI.
+   *
+   * @param string $content_type_name
+   *   Content type human name.
+   * @param string $content_type_id
+   *   Machine name.
+   * @param bool $moderated
+   *   TRUE if should be moderated
+   * @param string[] $allowed_states
+   *   Array of allowed state IDs
+   * @param string $default_state
+   *   Default state.
+   */
+  protected function createContentTypeFromUI($content_type_name, $content_type_id, $moderated = FALSE, $allowed_states = [], $default_state = NULL) {
+    $this->drupalGet('admin/structure/types');
+    $this->clickLink('Add content type');
+    $this->assertFieldByName('enable_moderation_state');
+    $this->assertNoFieldChecked('edit-enable-moderation-state');
+    $edit = [
+      'name' => $content_type_name,
+      'type' => $content_type_id,
+    ];
+    if ($moderated) {
+      $edit['enable_moderation_state'] = 1;
+      foreach ($allowed_states as $state) {
+        $edit['allowed_moderation_states[' . $state . ']'] = 1;
+      }
+      $edit['default_moderation_state'] = $default_state;
+    }
+    $this->drupalPostForm(NULL, $edit, t('Save content type'));
+  }
+
 }
diff --git a/src/Tests/ModerationStateTestTrait.php b/src/Tests/ModerationStateTestTrait.php
new file mode 100644
index 0000000..61e87df
--- /dev/null
+++ b/src/Tests/ModerationStateTestTrait.php
@@ -0,0 +1,38 @@
+<?php
+/**
+ * @file
+ * Contains Drupal\moderation_state\Tests\ModerationStateTestTrait
+ */
+
+namespace Drupal\moderation_state\Tests;
+
+use Drupal\Core\Session\AccountInterface;
+use Drupal\user\Entity\Role;
+
+/**
+ * Provides a trait for moderation state tests.
+ */
+trait ModerationStateTestTrait {
+
+  /**
+   * Grants given user permission to create content of given type.
+   *
+   * @param \Drupal\Core\Session\AccountInterface $account
+   *   User to grant permission to.
+   * @param string $content_type_id
+   *   Content type ID.
+   */
+  protected function grantUserPermissionToCreateContentOfType(AccountInterface $account, $content_type_id) {
+    $role_ids = $account->getRoles(TRUE);
+    /* @var \Drupal\user\RoleInterface $role */
+    $role_id = reset($role_ids);
+    $role = Role::load($role_id);
+    $role->grantPermission("create $content_type_id content");
+    $role->grantPermission("edit any $content_type_id content");
+    $role->grantPermission('view all revisions');
+    $role->grantPermission('revert all revisions');
+    $role->grantPermission('delete all revisions');
+    $role->save();
+  }
+
+}
