You are here

structure_sync.schema.yml in Structure Sync 2.x

config/schema/structure_sync.schema.yml

File

config/schema/structure_sync.schema.yml
View source
  1. # Define a data type for blocks captured by structure_sync.
  2. structure_sync_block:
  3. type: mapping
  4. mapping:
  5. info:
  6. type: label
  7. langcode:
  8. type: string
  9. uuid:
  10. type: string
  11. bundle:
  12. type: string
  13. revision_id:
  14. type: integer
  15. nullable: true
  16. rev_id_current:
  17. type: integer
  18. nullable: true
  19. fields:
  20. type: sequence
  21. sequence:
  22. type: ignore
  23. # Define a data type for menu items captured by structure_sync.
  24. structure_sync_menu_item:
  25. type: mapping
  26. mapping:
  27. menu_name:
  28. type: string
  29. title:
  30. type: label
  31. parent:
  32. type: string
  33. nullable: true
  34. uri:
  35. type: string
  36. link_title:
  37. type: label
  38. description:
  39. type: text
  40. enabled:
  41. type: boolean
  42. expanded:
  43. type: boolean
  44. weight:
  45. type: integer
  46. langcode:
  47. type: string
  48. uuid:
  49. type: string
  50. # Define a data type for taxonomies captured by structure_sync.
  51. structure_sync_taxonomy:
  52. type: sequence
  53. sequence:
  54. type: structure_sync_taxonomy_term
  55. # Define a type for taxonomy terms captured by structure_sync.
  56. # Note that, unlike how this module handles blocks (i.e.: the fields are in a
  57. # 'fields' sub-structure that we can ignore), the fields are at the root of this
  58. # structure (and changing that would be a BC break). So, we have to ignore this
  59. # whole structure, unfortunately.
  60. structure_sync_taxonomy_term:
  61. type: ignore
  62. # Define the main structure_sync data structure.
  63. structure_sync.data:
  64. type: config_object
  65. label: 'Structure Sync data'
  66. mapping:
  67. blocks:
  68. type: sequence
  69. label: 'Blocks'
  70. sequence:
  71. type: structure_sync_block
  72. menus:
  73. type: sequence
  74. sequence:
  75. type: structure_sync_menu_item
  76. taxonomies:
  77. type: sequence
  78. sequence:
  79. type: structure_sync_taxonomy