summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-03-17 16:37:46 (GMT)
committerwebchick2013-03-17 16:37:46 (GMT)
commitf4bc9f8770ee9c7c8e6a432138701a29e5ed700d (patch)
tree08c6cf5ab4cae3664af31d1d53f215e41c6c104b
parent0aaed25e2d9a8a654fc174f8a122944fd3d45568 (diff)
Issue #1919176 by sandipmkhairnar, vijaycs85, csg: Create configuration schemas for forum module.
-rw-r--r--core/modules/forum/config/schema/forum.schema.yml46
1 files changed, 46 insertions, 0 deletions
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 0000000..60bd0f7
--- /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'