text_with_summary.schema.yml

core/modules/text_with_summary/config/schema/text_with_summary.schema.yml

File

core/modules/text_with_summary/config/schema/text_with_summary.schema.yml

View source
  1. # This field type has no field storage settings, so no specific config schema type.
  2. # @see `type: field.storage_settings.*`
  3. field.field_settings.text_with_summary:
  4. type: mapping
  5. label: 'Text (formatted, long, with summary) settings'
  6. mapping:
  7. display_summary:
  8. type: boolean
  9. label: 'Summary input'
  10. required_summary:
  11. type: boolean
  12. label: 'Require summary'
  13. allowed_formats:
  14. type: sequence
  15. label: 'Allowed text formats'
  16. sequence:
  17. type: string
  18. field.value.text_with_summary:
  19. type: mapping
  20. label: 'Default value'
  21. mapping:
  22. value:
  23. type: text
  24. label: 'Body'
  25. summary:
  26. type: string
  27. label: 'Summary'
  28. format:
  29. type: string
  30. label: 'Text format'
  31. field.formatter.settings.text_summary_or_trimmed:
  32. type: mapping
  33. label: 'Summary or trimmed formatted text display format settings'
  34. mapping:
  35. trim_length:
  36. type: integer
  37. label: 'Trim length'
  38. field.widget.settings.text_textarea_with_summary:
  39. type: mapping
  40. label: 'Text area with a summary display format settings'
  41. mapping:
  42. rows:
  43. type: integer
  44. label: 'Rows'
  45. summary_rows:
  46. type: integer
  47. label: 'Number of summary rows'
  48. placeholder:
  49. type: text
  50. label: 'Placeholder'
  51. show_summary:
  52. type: boolean
  53. label: 'Always show summary'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.