e232a20d92b01b947f38037c9bbdd6718ab74ee3
[yaffs-website] / web / modules / contrib / embed / config / schema / embed.schema.yml
1 # Schema for the configuration files of the Embed module.
2
3 embed.settings:
4   type: config_object
5   label: 'Embed settings'
6   mapping:
7     file_scheme:
8       type: string
9       label: 'File scheme for button icons'
10     upload_directory:
11       type: string
12       label: 'Upload directory for button icons'
13
14 embed.button.*:
15   type: config_entity
16   label: 'Embed button'
17   mapping:
18     label:
19       type: label
20       label: 'Name'
21     id:
22       type: string
23       label: 'Machine name'
24     type_id:
25       type: string
26       label: 'Embed type plugin ID'
27     type_settings:
28       type: embed.embed_type_settings.[%parent.type_id]
29     icon_uuid:
30       type: string
31       label: 'Button icon UUID'
32
33 embed.embed_type_settings.*:
34   type: mapping
35   label: 'Embed type settings'