From d741308bd8a476151bd89f37a649b56f116eb506 Mon Sep 17 00:00:00 2001
From: Igor Biki <ibiki@uwaterloo.ca>
Date: Fri, 11 Mar 2022 10:26:01 -0500
Subject: [PATCH] Adding scheduler content moderation dependency.

---
 ...tity_form_display.node.uw_ct_service.default.yml | 13 +++++++++++++
 uw_ct_service.info.yml                              |  1 +
 2 files changed, 14 insertions(+)

diff --git a/config/install/core.entity_form_display.node.uw_ct_service.default.yml b/config/install/core.entity_form_display.node.uw_ct_service.default.yml
index 2fe40cd..8d0b3c5 100644
--- a/config/install/core.entity_form_display.node.uw_ct_service.default.yml
+++ b/config/install/core.entity_form_display.node.uw_ct_service.default.yml
@@ -35,6 +35,7 @@ dependencies:
     - office_hours_exceptions
     - path
     - scheduler
+    - scheduler_content_moderation_integration
     - term_reference_tree
     - text
 third_party_settings:
@@ -376,6 +377,12 @@ content:
     region: content
     settings: {  }
     third_party_settings: {  }
+  publish_state:
+    type: scheduler_moderation
+    weight: 30
+    region: content
+    settings: {  }
+    third_party_settings: {  }
   scheduler_settings:
     weight: 20
     settings: {  }
@@ -419,6 +426,12 @@ content:
     region: content
     settings: {  }
     third_party_settings: {  }
+  unpublish_state:
+    type: scheduler_moderation
+    weight: 30
+    region: content
+    settings: {  }
+    third_party_settings: {  }
   url_redirects:
     weight: 17
     region: content
diff --git a/uw_ct_service.info.yml b/uw_ct_service.info.yml
index 043643a..3336141 100644
--- a/uw_ct_service.info.yml
+++ b/uw_ct_service.info.yml
@@ -36,6 +36,7 @@ dependencies:
   - 'office_hours_exceptions:office_hours_exceptions'
   - 'require_on_publish:require_on_publish'
   - 'scheduler:scheduler'
+  - 'scheduler_content_moderation_integration:scheduler_content_moderation_integration'
   - 'simple_sitemap:simple_sitemap'
   - 'term_reference_tree:term_reference_tree'
   - 'tvi:tvi'
-- 
GitLab