Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / plugin / entity-reference-selection-schema.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/entity-reference-selection-schema.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/entity-reference-selection-schema.twig
new file mode 100644 (file)
index 0000000..45d9112
--- /dev/null
@@ -0,0 +1,10 @@
+entity_reference_selection.{{ plugin_id }}:
+{# User selection plugin provides has some additional options. #}
+  type: entity_reference_selection.default{{  entity_type == 'user' ? ':user' }}
+  label: '{{ plugin_label }} handler settings'
+{%  if configurable %}
+  mapping:
+    foo:
+      type: string
+      label: Foo
+{% endif %}