X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fparagraphs%2Fconfig%2Fschema%2Fparagraphs_type.schema.yml;fp=web%2Fmodules%2Fcontrib%2Fparagraphs%2Fconfig%2Fschema%2Fparagraphs_type.schema.yml;h=65b3c7e7945f66bfcc24a08f7149c16beed703ce;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/modules/contrib/paragraphs/config/schema/paragraphs_type.schema.yml b/web/modules/contrib/paragraphs/config/schema/paragraphs_type.schema.yml new file mode 100644 index 000000000..65b3c7e79 --- /dev/null +++ b/web/modules/contrib/paragraphs/config/schema/paragraphs_type.schema.yml @@ -0,0 +1,84 @@ +paragraphs.paragraphs_type.*: + type: config_entity + label: 'Paragraphs type config' + mapping: + id: + type: string + label: 'ID' + label: + type: label + label: 'Label' + behavior_plugins: + type: sequence + label: 'Plugins' + sequence: + type: paragraphs.behavior.settings.[%key] + label: 'Behavior plugins' + +paragraphs.behavior.settings_base: + type: mapping + label: 'Settings for base paragraphs behavior plugin' + mapping: + enabled: + type: boolean + label: 'Enabled' + +# The plugins which extend the base behavior plugin and don't provide +# any configuration form will validate on this entry. +paragraphs.behavior.settings.*: + type: paragraphs.behavior.settings_base + +entity_reference_selection.default:paragraph: + type: entity_reference_selection + mapping: + target_bundles_drag_drop: + type: sequence + sequence: + type: mapping + mapping: + weight: + type: integer + enabled: + type: boolean + add_mode: + type: string + edit_mode: + type: string + title: + type: string + title_plural: + type: string + default_paragraph_type: + type: string + +field.widget.settings.entity_reference_paragraphs: + type: mapping + mapping: + title: + type: string + title_plural: + type: string + edit_mode: + type: string + add_mode: + type: string + form_display_mode: + type: string + default_paragraph_type: + type: string + +field.widget.settings.paragraphs: + type: mapping + mapping: + title: + type: string + title_plural: + type: string + edit_mode: + type: string + add_mode: + type: string + form_display_mode: + type: string + default_paragraph_type: + type: string