From 0b1aa9c28c7fc392f3f00425d125f1120ab7b9b3 Mon Sep 17 00:00:00 2001
From: Baptiste Niviere <baptiste.niviere@gmail.com>
Date: Fri, 11 Mar 2022 10:39:56 -0800
Subject: [PATCH] added view configuration

---
 config/config-default/views.view.content.yml | 124 +++++++++++++++++++
 1 file changed, 124 insertions(+)

diff --git a/config/config-default/views.view.content.yml b/config/config-default/views.view.content.yml
index cb39ca09..0e60f5d4 100644
--- a/config/config-default/views.view.content.yml
+++ b/config/config-default/views.view.content.yml
@@ -11,6 +11,7 @@ dependencies:
     - taxonomy.vocabulary.case_type
     - taxonomy.vocabulary.party
   module:
+    - content_moderation
     - node
     - taxonomy
     - user
@@ -824,6 +825,69 @@ display:
           plugin_id: field
           entity_type: node
           entity_field: changed
+        moderation_state:
+          id: moderation_state
+          table: node_field_data
+          field: moderation_state
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Moderation 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: 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: value
+          type: content_moderation_state
+          settings: {  }
+          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
+          plugin_id: moderation_state_field
         operations:
           id: operations
           table: node
@@ -1155,6 +1219,64 @@ display:
           entity_type: node
           entity_field: uid
           plugin_id: user_name
+        moderation_state:
+          id: moderation_state
+          table: node_field_data
+          field: moderation_state
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: in
+          value:
+            all: all
+          group: 1
+          exposed: true
+          expose:
+            operator_id: moderation_state_op
+            label: 'Moderation state'
+            description: ''
+            use_operator: false
+            operator: moderation_state_op
+            operator_limit_selection: false
+            operator_list: {  }
+            identifier: moderation_state
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              editor: '0'
+              translator: '0'
+              jcc_web_services: '0'
+              administrator: '0'
+            reduce: false
+          is_grouped: false
+          group_info:
+            label: 'Moderation state'
+            description: ''
+            identifier: moderation_state
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items:
+              1:
+                title: ''
+                operator: in
+                value: {  }
+              2:
+                title: ''
+                operator: in
+                value: {  }
+              3:
+                title: ''
+                operator: in
+                value: {  }
+          entity_type: node
+          plugin_id: moderation_state_filter
         field_case_types_target_id:
           id: field_case_types_target_id
           table: node__field_case_types
@@ -1401,6 +1523,7 @@ display:
         - 'config:field.storage.node.field_case_types'
         - 'config:field.storage.node.field_parties'
         - 'config:field.storage.node.field_watchers'
+        - 'config:workflow_list'
   page_1:
     display_options:
       path: admin/content/node
@@ -1437,3 +1560,4 @@ display:
         - 'config:field.storage.node.field_case_types'
         - 'config:field.storage.node.field_parties'
         - 'config:field.storage.node.field_watchers'
+        - 'config:workflow_list'