Version 1
[yaffs-website] / web / core / modules / aggregator / config / schema / aggregator.schema.yml
diff --git a/web/core/modules/aggregator/config/schema/aggregator.schema.yml b/web/core/modules/aggregator/config/schema/aggregator.schema.yml
new file mode 100644 (file)
index 0000000..eb6c006
--- /dev/null
@@ -0,0 +1,57 @@
+# Schema for the configuration files of the aggregator module.
+
+aggregator.settings:
+  type: config_object
+  label: 'Aggregator settings'
+  mapping:
+    fetcher:
+      type: string
+      label: 'Fetcher'
+    parser:
+      type: string
+      label: 'Parser'
+    processors:
+      type: sequence
+      label: 'Processors'
+      sequence:
+        type: string
+        label: 'Processor'
+    items:
+      type: mapping
+      label: 'Items'
+      mapping:
+        allowed_html:
+          type: string
+          label: 'Allowed HTML tags'
+        teaser_length:
+          type: integer
+          label: 'Length of trimmed description'
+        expire:
+          type: integer
+          label: 'Discard items older than'
+    source:
+      type: mapping
+      label: 'Source'
+      mapping:
+        list_max:
+          type: integer
+          label: 'Number of items shown in listing pages'
+
+block.settings.aggregator_feed_block:
+  type: block_settings
+  label: 'Aggregator feed block'
+  mapping:
+    block_count:
+      type: integer
+      label: 'Block count'
+    feed:
+      type: string
+      label: 'Feed'
+
+field.formatter.settings.aggregator_title:
+  type: mapping
+  label: 'Formatter settings'
+  mapping:
+    display_as_link:
+      type: boolean
+      label: 'Display as link'