Same filename and directory in other branches
  1. 8.9.x core/modules/taxonomy/config/schema/taxonomy.schema.yml
  2. 9 core/modules/taxonomy/config/schema/taxonomy.schema.yml
core/modules/taxonomy/config/schema/taxonomy.schema.yml

File

core/modules/taxonomy/config/schema/taxonomy.schema.yml
View source
  1. # Schema for the configuration files of the Taxonomy module.
  2. taxonomy.settings:
  3. type: config_object
  4. label: 'Taxonomy settings'
  5. constraints:
  6. FullyValidatable: ~
  7. mapping:
  8. maintain_index_table:
  9. type: boolean
  10. label: 'Maintain index table'
  11. override_selector:
  12. type: boolean
  13. label: 'Override selector'
  14. terms_per_page_admin:
  15. type: integer
  16. label: 'Number of terms per page'
  17. constraints:
  18. Range:
  19. min: 1
  20. taxonomy.vocabulary.*:
  21. type: config_entity
  22. label: 'Vocabulary'
  23. constraints:
  24. FullyValidatable: ~
  25. mapping:
  26. name:
  27. type: required_label
  28. label: 'Name'
  29. vid:
  30. type: machine_name
  31. label: 'Machine name'
  32. # Vocabulary machine names are specifically limited to 32 characters.
  33. # @see \Drupal\taxonomy\VocabularyForm::form()
  34. constraints:
  35. Length:
  36. max: 32
  37. description:
  38. type: text
  39. label: 'Description'
  40. nullable: true
  41. constraints:
  42. NotBlank:
  43. allowNull: true
  44. weight:
  45. type: weight
  46. label: 'Weight'
  47. new_revision:
  48. type: boolean
  49. label: 'Whether a new revision should be created by default'
  50. field.formatter.settings.entity_reference_rss_category:
  51. type: mapping
  52. label: 'Taxonomy format settings'