block.schema.yml

drupal/core/modules/block/config/schema/block.schema.yml

File

drupal/core/modules/block/config/schema/block.schema.yml
View source
  1. # Schema for the configuration files of the Block module.
  2. block.block.*.*:
  3. type: mapping
  4. label: 'Block'
  5. mapping:
  6. id:
  7. type: string
  8. label: 'ID'
  9. uuid:
  10. type: string
  11. label: 'UUID'
  12. label:
  13. type: label
  14. label: 'Title'
  15. label_display:
  16. type: string
  17. label: 'Display title'
  18. region:
  19. type: string
  20. label: 'Region'
  21. weight:
  22. type: integer
  23. label: 'Weight'
  24. module:
  25. type: string
  26. label: 'Module'
  27. status:
  28. type: boolean
  29. label: 'Status'
  30. visibility:
  31. type: mapping
  32. label: 'Visibility settings'
  33. mapping:
  34. path:
  35. type: mapping
  36. label: 'Pages'
  37. mapping:
  38. visibility:
  39. type: integer
  40. label: 'Visibility'
  41. pages:
  42. type: string
  43. label: 'Show block on specific pages'
  44. role:
  45. type: mapping
  46. label: 'Roles'
  47. mapping:
  48. roles:
  49. type: sequence
  50. label: 'Show block for specific roles'
  51. sequence:
  52. - type: string
  53. label: 'Role'
  54. node_type:
  55. type: mapping
  56. label: 'Content types'
  57. mapping:
  58. types:
  59. type: sequence
  60. label: 'Show block for specific content types'
  61. sequence:
  62. - type: string
  63. label: 'Node type'
  64. visibility__active_tab:
  65. type: string
  66. label: 'Visibility active tab'
  67. plugin:
  68. type: string
  69. label: 'Plugin'
  70. settings:
  71. type: mapping
  72. label: 'Block settings'
  73. mapping:
  74. admin_label:
  75. type: label
  76. label: 'Description'
  77. cache:
  78. type: integer
  79. label: 'Cache'
  80. status:
  81. type: boolean
  82. label: 'Status'
  83. info:
  84. type: label
  85. label: 'Admin info'
  86. view_mode:
  87. type: string
  88. label: 'View mode'
  89. langcode:
  90. type: string
  91. label: 'Language code'