From f4bc9f8770ee9c7c8e6a432138701a29e5ed700d Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Sun, 17 Mar 2013 09:37:46 -0700
Subject: [PATCH] Issue #1919176 by sandipmkhairnar, vijaycs85, csg: Create
 configuration schemas for forum module.

---
 .../forum/config/schema/forum.schema.yml      | 46 +++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 core/modules/forum/config/schema/forum.schema.yml

diff --git a/core/modules/forum/config/schema/forum.schema.yml b/core/modules/forum/config/schema/forum.schema.yml
new file mode 100644
index 000000000000..60bd0f771832
--- /dev/null
+++ b/core/modules/forum/config/schema/forum.schema.yml
@@ -0,0 +1,46 @@
+# Schema for the configuration files of the Forum module.
+
+forum.settings:
+  type: mapping
+  label: 'Forum settings'
+  mapping:
+    block:
+      type: mapping
+      label: 'Forum blocks'
+      mapping:
+        active:
+          type: mapping
+          label: 'Active forum block'
+          mapping:
+            limit:
+              type: integer
+              label: 'Active forum Count'
+        new:
+          type: mapping
+          label: 'New forum topics'
+          mapping:
+            limit:
+              type: integer
+              label: 'New forum Count'
+    containers:
+      type: sequence
+      label: 'Containers to group related forums'
+      sequence:
+        - type: integer
+          label: 'Taxonomy Term ID'
+    topics:
+      type: mapping
+      label: 'Forum topics block'
+      mapping:
+        hot_threshold:
+          type: integer
+          label: 'Hot topic threshold'
+        order:
+          type: integer
+          label: 'Forum default topic order'
+        page_limit:
+          type: integer
+          label: 'Topics per page'
+    vocabulary:
+      type: string
+      label: 'Forum vocabulary ID'
-- 
GitLab