diff core/modules/taxonomy/config/schema/taxonomy.schema.yml @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children af1871eacc83
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/taxonomy/config/schema/taxonomy.schema.yml	Wed Nov 29 16:09:58 2017 +0000
@@ -0,0 +1,39 @@
+# Schema for the configuration files of the Taxonomy module.
+
+taxonomy.settings:
+  type: config_object
+  label: 'Taxonomy settings'
+  mapping:
+    maintain_index_table:
+      type: boolean
+      label: 'Maintain index table'
+    override_selector:
+      type: boolean
+      label: 'Override selector'
+    terms_per_page_admin:
+      type: integer
+      label: 'Number of terms per page'
+
+taxonomy.vocabulary.*:
+  type: config_entity
+  label: 'Vocabulary'
+  mapping:
+    name:
+      type: label
+      label: 'Name'
+    vid:
+      type: string
+      label: 'Machine name'
+    description:
+      type: label
+      label: 'Description'
+    hierarchy:
+      type: integer
+      label: 'Hierarchy'
+    weight:
+      type: integer
+      label: 'Weight'
+
+field.formatter.settings.entity_reference_rss_category:
+  type: mapping
+  label: 'Taxonomy format settings'