You are here

layout_builder_restrictions.schema.yml in Layout Builder Restrictions 8.2

Same filename and directory in other branches
  1. 8 config/schema/layout_builder_restrictions.schema.yml
config/schema/layout_builder_restrictions.schema.yml

File

config/schema/layout_builder_restrictions.schema.yml
View source
  1. core.entity_view_display.*.*.*.third_party.layout_builder_restrictions:
  2. type: sequence
  3. label: 'Layout Builder Restrictions plugin configuration'
  4. sequence:
  5. - type: layout_builder_restrictions.[%key]
  6. layout_builder_restrictions.entity_view_mode_restriction:
  7. type: mapping
  8. label: 'Per-view-mode Layout Builder Restrictions settings'
  9. mapping:
  10. allowed_layouts:
  11. type: sequence
  12. label: 'Allowed layouts'
  13. sequence:
  14. type: string
  15. label: 'Layout ID'
  16. blacklisted_blocks:
  17. type: sequence
  18. label: 'Blacklisted blocks by category'
  19. sequence:
  20. type: sequence
  21. label: 'Blacklisted blocks'
  22. sequence:
  23. type: string
  24. label: 'Block ID'
  25. whitelisted_blocks:
  26. type: sequence
  27. label: 'Whitelisted blocks by category'
  28. sequence:
  29. type: sequence
  30. label: 'Whitelisted blocks'
  31. sequence:
  32. type: string
  33. label: 'Block ID'
  34. restricted_categories:
  35. type: sequence
  36. label: 'Categories which disallow all blocks'
  37. sequence:
  38. type: string
  39. label: 'Category ID'
  40. layout_builder_restrictions.allowed_block_categories:
  41. type: sequence
  42. label: 'Categories which have no block restrictions'
  43. sequence:
  44. type: string
  45. label: 'Category machine name'
  46. layout_builder_restrictions.plugins:
  47. type: config_object
  48. label: 'Weighting and active status of Layout Builder Restrictions plugins'
  49. mapping:
  50. plugin_config:
  51. type: sequence
  52. sequence:
  53. type: mapping
  54. mapping:
  55. enabled:
  56. type: boolean
  57. label: 'Is the plugin enabled'
  58. weight:
  59. type: integer
  60. label: 'The relative order of the plugin'