options.schema.yml 3.32 KB
Newer Older
1 2
# Schema for the configuration files of the Options module.

3
field.list_integer.storage_settings:
4 5 6 7 8 9 10
  type: mapping
  label: 'List (integer) settings'
  mapping:
    allowed_values:
      type: sequence
      label: 'Allowed values list'
      sequence:
11 12 13 14 15 16 17 18 19
        - type: mapping
          label: 'Allowed value with label'
          mapping:
            value:
              type: integer
              label: 'Value'
            label:
              type: label
              label: 'Label'
20 21 22 23
    allowed_values_function:
      type: string
      label: 'Allowed values function'

24
field.list_integer.field_settings:
25
  label: 'List (integer)'
26 27
  type: mapping
  mapping: {  }
28 29 30 31 32 33 34 35 36 37 38 39

field.list_integer.value:
  type: sequence
  label: 'Default value'
  sequence:
    - type: mapping
      label: 'Default'
      mapping:
        value:
          type: integer
          label: 'Value'

40
field.list_float.storage_settings:
41 42 43 44
  type: mapping
  label: 'List (float) settings'
  mapping:
    allowed_values:
45
      type: sequence
46
      label: 'Allowed values list'
47 48 49 50 51 52 53 54 55 56
      sequence:
        - type: mapping
          label: 'Allowed value with label'
          mapping:
            value:
              type: float
              label: 'Value'
            label:
              type: label
              label: 'Label'
57 58 59 60
    allowed_values_function:
      type: string
      label: 'Allowed values function'

61
field.list_float.field_settings:
62
  label: 'List (float)'
63 64
  type: mapping
  mapping: {  }
65 66 67 68 69 70 71 72 73 74 75 76

field.list_float.value:
  type: sequence
  label: 'Default value'
  sequence:
    - type: mapping
      label: 'Default'
      mapping:
        value:
          type: string
          label: 'Value'

77
field.list_text.storage_settings:
78 79 80 81 82 83 84
  type: mapping
  label: 'List (text) settings'
  mapping:
    allowed_values:
      type: sequence
      label: 'Allowed values list'
      sequence:
85 86 87 88 89 90 91 92 93
        - type: mapping
          label: 'Allowed value with label'
          mapping:
            value:
              type: string
              label: 'Value'
            label:
              type: label
              label: 'Label'
94 95 96 97
    allowed_values_function:
      type: string
      label: 'Allowed values function'

98
field.list_text.field_settings:
99
  label: 'List (float)'
100 101
  type: mapping
  mapping: {  }
102 103 104 105 106 107 108 109 110 111 112 113

field.list_text.value:
  type: sequence
  label: 'Default value'
  sequence:
    - type: mapping
      label: 'Default'
      mapping:
        value:
          type: string
          label: 'Value'

114 115
entity_view_display.field.list_default:
  type: entity_field_view_display_base
116 117 118 119 120 121 122 123
  label: 'Options list default display settings'
  mapping:
    settings:
      type: sequence
      label: 'Settings'
      sequence:
        - type: string

124 125
entity_view_display.field.list_key:
  type: entity_field_view_display_base
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
  label: 'Key format settings'
  mapping:
    settings:
      type: sequence
      label: 'Settings'
      sequence:
        - type: string

entity_form_display.field.options_buttons:
  type: entity_field_form_display_base
  label: 'Check boxes/radio buttons format settings'
  mapping:
    settings:
      type: sequence
      label: 'Settings'
      sequence:
        - type: string

entity_form_display.field.options_select:
  type: entity_field_form_display_base
  label: 'Select list format settings'
  mapping:
    settings:
      type: sequence
      label: 'Settings'
      sequence:
        - type: string