Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / link / config / schema / link.schema.yml
1 # Schema for the configuration files of the Link module.
2
3 field.formatter.settings.link:
4   type: mapping
5   label: 'Link format settings'
6   mapping:
7     trim_length:
8       type: integer
9       label: 'Trim link text length'
10     url_only:
11       type: boolean
12       label: 'URL only'
13     url_plain:
14       type: boolean
15       label: 'Show URL as plain text'
16     rel:
17       type: string
18       label: 'Add rel="nofollow" to links'
19     target:
20       type: string
21       label: 'Open link in new window'
22
23 field.formatter.settings.link_separate:
24   type: field.formatter.settings.link
25   label: 'Link format settings'
26
27 field.widget.settings.link_default:
28   type: mapping
29   label: 'Link format settings'
30   mapping:
31     placeholder_url:
32       type: string
33       label: 'Placeholder for URL'
34     placeholder_title:
35       type: label
36       label: 'Placeholder for link text'
37
38 field.storage_settings.link:
39   type: mapping
40   label: 'Link settings'
41
42 field.field_settings.link:
43   type: mapping
44   label: 'Link settings'
45   mapping:
46     title:
47       type: integer
48       label: 'Allow link text'
49     link_type:
50       type: integer
51       label: 'Allowed link type'
52
53 field.value.link:
54   type: mapping
55   label: 'Default value'
56   mapping:
57     title:
58       type: label
59       label: 'Link text'
60     url:
61       type: string
62       label: 'URL'
63     options:
64       type: mapping
65       label: 'Link options'
66       mapping:
67         query:
68           type: sequence
69           label: 'URL query key value pairs'
70           sequence:
71             type: string
72         fragment:
73           type: string
74           label: 'URL fragment'
75         absolute:
76           type: boolean
77           label: 'Is this URL absolute'
78         https:
79           type: boolean
80           label: 'If the URL should use a secure protocol'
81         attributes:
82           type: sequence
83           label: 'Link attributes'
84           sequence:
85             type: string