navigation.schema.yml

Same filename in other branches
  1. 10 core/modules/navigation/config/schema/navigation.schema.yml
core/modules/navigation/config/schema/navigation.schema.yml

File

core/modules/navigation/config/schema/navigation.schema.yml

View source
  1. # Schema for the configuration files of the Navigation module.
  2. navigation.settings:
  3. type: config_object
  4. label: 'Navigation settings'
  5. constraints:
  6. FullyValidatable: ~
  7. mapping:
  8. logo_provider:
  9. type: string
  10. label: 'Select Navigation logo handling'
  11. constraints:
  12. Choice:
  13. - default
  14. - hide
  15. - custom
  16. logo_managed:
  17. type: integer
  18. label: 'Custom logo'
  19. nullable: true
  20. constraints:
  21. Range:
  22. min: 0
  23. logo_max_filesize:
  24. type: integer
  25. label: 'Maximum file sizes (bytes)'
  26. constraints:
  27. NotNull: [ ]
  28. Range:
  29. min: 0
  30. logo_height:
  31. type: integer
  32. label: 'Logo expected height'
  33. constraints:
  34. NotNull: [ ]
  35. Range:
  36. min: 0
  37. logo_width:
  38. type: integer
  39. label: 'Logo expected width'
  40. constraints:
  41. NotNull: [ ]
  42. Range:
  43. min: 0
  44. navigation.block_layout:
  45. type: config_object
  46. mapping:
  47. sections:
  48. type: sequence
  49. sequence:
  50. type: layout_builder.section
  51. block.settings.navigation_menu:*:
  52. type: block_settings
  53. label: 'Menu block'
  54. mapping:
  55. level:
  56. type: integer
  57. label: 'Starting level'
  58. depth:
  59. type: integer
  60. label: 'Maximum number of levels'

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