text.schema.yml
Same filename in other branches
File
-
core/
modules/ text/ config/ schema/ text.schema.yml
View source
- # Schema for the configuration files of the text module.
-
- text.settings:
- type: config_object
- label: 'Text settings'
- constraints:
- FullyValidatable: ~
- mapping:
- default_summary_length:
- type: integer
- label: 'Default summary length'
- constraints:
- NotNull: [ ]
- Range:
- min: 1
-
- field.storage_settings.text:
- type: mapping
- label: 'Text (formatted) settings'
- mapping:
- max_length:
- type: integer
- label: 'Maximum length'
-
- field.field_settings.text:
- type: mapping
- label: 'Text (formatted) settings'
- mapping:
- allowed_formats:
- type: sequence
- label: 'Allowed text formats'
- sequence:
- type: string
-
- field.value.text:
- type: mapping
- label: 'Default value'
- mapping:
- value:
- type: label
- label: 'Value'
- format:
- type: string
- label: 'Text format'
-
- field.storage_settings.text_long:
- label: 'Text (formatted, long) settings'
- type: field.field_settings.text
-
- field.field_settings.text_long:
- label: 'Text (formatted, long) settings'
- type: mapping
- mapping:
- allowed_formats:
- type: sequence
- label: 'Allowed text formats'
- sequence:
- type: string
-
- field.value.text_long:
- type: mapping
- label: 'Default value'
- mapping:
- value:
- type: text
- label: 'Value'
- format:
- type: string
- label: 'Text format'
-
- # This field type has no field storage settings, so no specific config schema type.
- # @see `type: field.storage_settings.*`
- field.field_settings.text_with_summary:
- type: mapping
- label: 'Text (formatted, long, with summary) settings'
- mapping:
- display_summary:
- type: boolean
- label: 'Summary input'
- required_summary:
- type: boolean
- label: 'Require summary'
- allowed_formats:
- type: sequence
- label: 'Allowed text formats'
- sequence:
- type: string
-
- field.value.text_with_summary:
- type: mapping
- label: 'Default value'
- mapping:
- value:
- type: text
- label: 'Body'
- summary:
- type: string
- label: 'Summary'
- format:
- type: string
- label: 'Text format'
-
- field.formatter.settings.text_default:
- type: mapping
- label: 'Formatted text default display format settings'
-
- field.formatter.settings.text_summary_or_trimmed:
- type: mapping
- label: 'Summary or trimmed formatted text display format settings'
- mapping:
- trim_length:
- type: integer
- label: 'Trim length'
-
- field.formatter.settings.text_trimmed:
- type: mapping
- label: 'Trimmed text display format settings'
- mapping:
- trim_length:
- type: integer
- label: 'Trim length'
-
- field.widget.settings.text_textarea:
- type: mapping
- label: 'Text area (multiple rows) display format settings'
- mapping:
- rows:
- type: integer
- label: 'Rows'
- placeholder:
- type: label
- label: 'Placeholder'
-
- field.widget.settings.text_textarea_with_summary:
- type: mapping
- label: 'Text area with a summary display format settings'
- mapping:
- rows:
- type: integer
- label: 'Rows'
- summary_rows:
- type: integer
- label: 'Number of summary rows'
- placeholder:
- type: text
- label: 'Placeholder'
- show_summary:
- type: boolean
- label: 'Always show summary'
-
- field.widget.settings.text_textfield:
- type: mapping
- label: 'Text field display format settings'
- mapping:
- size:
- type: integer
- label: 'Size of textfield'
- placeholder:
- type: label
- label: 'Placeholder'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.