cf2ea7008d9fd36c330cd881fb33cbd33d496fd2
[yaffs-website] / web / modules / contrib / crop / config / schema / crop.schema.yml
1 crop.type.*:
2   type: config_entity
3   label: 'Crop type'
4   mapping:
5     label:
6       type: label
7       label: 'Name'
8     id:
9       type: string
10       label: 'Machine-readable name'
11     description:
12       type: text
13       label: 'Description'
14     aspect_ratio:
15       type: string
16       label: 'Aspect ratio'
17     soft_limit_width:
18       type: integer
19       label: 'Soft limit width'
20     soft_limit_height:
21       type: integer
22       label: 'Soft limit height'
23     hard_limit_width:
24       type: integer
25       label: 'Hard limit width'
26     hard_limit_height:
27       type: integer
28       label: 'Hard limit height'
29     third_party_settings:
30       type: sequence
31       label: 'Third party settings'
32       sequence:
33         type: crop_type.third_party.[%key]
34
35 media_entity.bundle.third_party.crop:
36   type: mapping
37   label: 'Crop settings'
38   mapping:
39     image_field:
40       type: string
41       label: 'Field storing image to be cropped'
42
43 image.effect.crop_crop:
44   type: mapping
45   label: 'Crop effect configuration'
46   mapping:
47     crop_type:
48       label: 'Crop type'
49       type: string
50
51 crop.settings:
52   type: config_object
53   label: 'Crop API settings'
54   mapping:
55     flush_derivative_images:
56       type: boolean
57       label: 'Indicates whether to flush image derivatives when a crop entity is change'