text.schema.yml 1.94 KB
Newer Older
1 2 3 4 5 6 7 8 9
# Schema for the configuration files of the text module.

text.settings:
  type: mapping
  label: 'Text settings'
  mapping:
    default_summary_length:
      type: integer
      label: 'Default summary length'
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101

field.text.settings:
  type: mapping
  label: 'Text settings'
  mapping:
    max_length:
      type: integer
      label: 'Maximum length'

field.text.instance_settings:
  type: mapping
  label: 'Text settings'
  mapping:
    text_processing:
      type: string
      label: 'Text processing'

field.text.value:
  type: sequence
  label: 'Default value'
  sequence:
    - type: mapping
      label: 'Default'
      mapping:
        value:
          type: label
          label: 'Value'
        format:
          type: string
          label: 'Text format'

field.text_long.settings:
  type: sequence
  label: 'Settings'
  sequence:
    - type: string

field.text_long.instance_settings:
  type: mapping
  label: 'Long text settings'
  mapping:
    text_processing:
      type: string
      label: 'Text processing'

field.text_long.value:
  type: sequence
  label: 'Default value'
  sequence:
    - type: mapping
      label: 'Default'
      mapping:
        value:
          type: text
          label: 'Value'
        format:
          type: string
          label: 'Text format'

field.text_with_summary.settings:
  type: sequence
  label: 'Default'
  sequence:
    - type: string

field.text_with_summary.instance_settings:
  type: mapping
  label: 'Text area with a summary'
  mapping:
    text_processing:
      type: boolean
      label: 'Text processing'
    display_summary:
      type: boolean
      label: 'Summary input'

field.text_with_summary.value:
  type: sequence
  label: 'Default value'
  sequence:
    - type: mapping
      label: 'Default'
      mapping:
        value:
          type: text
          label: 'Body'
        summary:
          type: string
          label: 'Summary'
        format:
          type: string
          label: 'Text format'