Version 1
[yaffs-website] / web / core / modules / filter / tests / filter_test / config / schema / filter_test.schema.yml
diff --git a/web/core/modules/filter/tests/filter_test/config/schema/filter_test.schema.yml b/web/core/modules/filter/tests/filter_test/config/schema/filter_test.schema.yml
new file mode 100644 (file)
index 0000000..53fd4a3
--- /dev/null
@@ -0,0 +1,22 @@
+# Schema for the configuration files of the Filter test module.
+
+filter_settings.filter_test_restrict_tags_and_attributes:
+  type: filter
+  label: 'Filter to restirct HTML tags and attributes'
+  mapping:
+    restrictions:
+      type: mapping
+      label: 'Restrictions'
+      mapping:
+        allowed:
+          type: sequence
+          label: 'Allowed tags and attributes'
+          sequence:
+            type: ignore
+            label: 'Tag and optionally list of attributes'
+        forbidden_tags:
+          type: sequence
+          label: 'Forbidden tags'
+          sequence:
+            type: boolean
+            label: 'Tag'