Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / plugin / field / type-schema.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/type-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/field/type-schema.twig
new file mode 100644 (file)
index 0000000..1cd232c
--- /dev/null
@@ -0,0 +1,23 @@
+field.storage_settings.{{ plugin_id }}:
+  type: mapping
+  label: {{ plugin_label }} storage settings
+  mapping:
+    foo:
+      type: string
+      label: Foo
+
+field.field_settings.{{ plugin_id }}:
+  type: mapping
+  label: {{ plugin_label }} field settings
+  mapping:
+    bar:
+      type: string
+      label: Bar
+
+field.value.{{ plugin_id }}:
+  type: mapping
+  label: Default value
+  mapping:
+    value:
+      type: label
+      label: Value