From f22e6c07a58a6ea25666302c5c8bd1ed1005f00d Mon Sep 17 00:00:00 2001
From: Lily Yan <l26yan@uwaterloo.ca>
Date: Fri, 10 May 2024 15:01:09 -0400
Subject: [PATCH] ISTWCMS-6898 Configure service categories: 2 levels

---
 .../taxonomy.vocabulary.uw_vocab_service_categories.yml    | 7 ++++++-
 uw_ct_service.info.yml                                     | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/config/install/taxonomy.vocabulary.uw_vocab_service_categories.yml b/config/install/taxonomy.vocabulary.uw_vocab_service_categories.yml
index 537c641..449a5e2 100644
--- a/config/install/taxonomy.vocabulary.uw_vocab_service_categories.yml
+++ b/config/install/taxonomy.vocabulary.uw_vocab_service_categories.yml
@@ -1,6 +1,11 @@
 langcode: en
 status: true
-dependencies: {  }
+dependencies:
+  module:
+    - taxonomy_max_depth
+third_party_settings:
+  taxonomy_max_depth:
+    max_depth: 2
 name: 'Service categories'
 vid: uw_vocab_service_categories
 description: 'Categories for service content type'
diff --git a/uw_ct_service.info.yml b/uw_ct_service.info.yml
index b9c888d..f7ed6c1 100644
--- a/uw_ct_service.info.yml
+++ b/uw_ct_service.info.yml
@@ -41,6 +41,7 @@ dependencies:
   - 'scheduler:scheduler'
   - 'scheduler_content_moderation_integration:scheduler_content_moderation_integration'
   - 'simple_sitemap:simple_sitemap'
+  - 'taxonomy_max_depth:taxonomy_max_depth'
   - 'term_reference_tree:term_reference_tree'
   - 'tvi:tvi'
   - 'uw_cfg_common:uw_cfg_common'
-- 
GitLab