Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / plugin / field / type-schema.twig
index 1cd232c59c6954fb4b41e4a2ca6db3b5116b9a08..55d10652015e2cf854d6227432a665dee39eb638 100644 (file)
@@ -1,3 +1,4 @@
+{% if configurable_storage %}
 field.storage_settings.{{ plugin_id }}:
   type: mapping
   label: {{ plugin_label }} storage settings
@@ -6,6 +7,8 @@ field.storage_settings.{{ plugin_id }}:
       type: string
       label: Foo
 
+{% endif %}
+{% if configurable_instance %}
 field.field_settings.{{ plugin_id }}:
   type: mapping
   label: {{ plugin_label }} field settings
@@ -14,6 +17,7 @@ field.field_settings.{{ plugin_id }}:
       type: string
       label: Bar
 
+{% endif %}
 field.value.{{ plugin_id }}:
   type: mapping
   label: Default value