You are here

text.schema.yml in Drupal 10

core/modules/text/config/schema/text.schema.yml

File

core/modules/text/config/schema/text.schema.yml
View source
  1. # Schema for the configuration files of the text module.
  2. text.settings:
  3. type: config_object
  4. label: 'Text settings'
  5. mapping:
  6. default_summary_length:
  7. type: integer
  8. label: 'Default summary length'
  9. field.storage_settings.text:
  10. type: mapping
  11. label: 'Text (formatted) settings'
  12. mapping:
  13. max_length:
  14. type: integer
  15. label: 'Maximum length'
  16. field.field_settings.text:
  17. type: mapping
  18. label: 'Text (formatted) settings'
  19. field.value.text:
  20. type: mapping
  21. label: 'Default value'
  22. mapping:
  23. value:
  24. type: label
  25. label: 'Value'
  26. format:
  27. type: string
  28. label: 'Text format'
  29. field.storage_settings.text_long:
  30. label: 'Text (formatted, long) settings'
  31. type: mapping
  32. field.field_settings.text_long:
  33. label: 'Text (formatted, long) settings'
  34. type: mapping
  35. field.value.text_long:
  36. type: mapping
  37. label: 'Default value'
  38. mapping:
  39. value:
  40. type: text
  41. label: 'Value'
  42. format:
  43. type: string
  44. label: 'Text format'
  45. field.storage_settings.text_with_summary:
  46. label: 'Text (formatted, long, with summary) settings'
  47. type: mapping
  48. field.field_settings.text_with_summary:
  49. type: mapping
  50. label: 'Text (formatted, long, with summary) settings'
  51. mapping:
  52. display_summary:
  53. type: boolean
  54. label: 'Summary input'
  55. required_summary:
  56. type: boolean
  57. label: 'Require summary'
  58. field.value.text_with_summary:
  59. type: mapping
  60. label: 'Default value'
  61. mapping:
  62. value:
  63. type: text
  64. label: 'Body'
  65. summary:
  66. type: string
  67. label: 'Summary'
  68. format:
  69. type: string
  70. label: 'Text format'
  71. field.formatter.settings.text_default:
  72. type: mapping
  73. label: 'Formatted text default display format settings'
  74. field.formatter.settings.text_summary_or_trimmed:
  75. type: mapping
  76. label: 'Summary or trimmed formatted text display format settings'
  77. mapping:
  78. trim_length:
  79. type: integer
  80. label: 'Trim length'
  81. field.formatter.settings.text_trimmed:
  82. type: mapping
  83. label: 'Trimmed text display format settings'
  84. mapping:
  85. trim_length:
  86. type: integer
  87. label: 'Trim length'
  88. field.widget.settings.text_textarea:
  89. type: mapping
  90. label: 'Text area (multiple rows) display format settings'
  91. mapping:
  92. rows:
  93. type: integer
  94. label: 'Rows'
  95. placeholder:
  96. type: label
  97. label: 'Placeholder'
  98. field.widget.settings.text_textarea_with_summary:
  99. type: mapping
  100. label: 'Text area with a summary display format settings'
  101. mapping:
  102. rows:
  103. type: integer
  104. label: 'Rows'
  105. summary_rows:
  106. type: integer
  107. label: 'Number of summary rows'
  108. placeholder:
  109. type: label
  110. label: 'Placeholder'
  111. show_summary:
  112. type: boolean
  113. label: 'Always show summary'
  114. field.widget.settings.text_textfield:
  115. type: mapping
  116. label: 'Text field display format settings'
  117. mapping:
  118. size:
  119. type: integer
  120. label: 'Size of textfield'
  121. placeholder:
  122. type: label
  123. label: 'Placeholder'