You are here

block.schema.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/block/config/schema/block.schema.yml
core/modules/block/config/schema/block.schema.yml

File

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: config_entity
  4. label: 'Block'
  5. mapping:
  6. id:
  7. type: string
  8. label: 'ID'
  9. theme:
  10. type: string
  11. label: 'Theme'
  12. region:
  13. type: string
  14. label: 'Region'
  15. weight:
  16. type: integer
  17. label: 'Weight'
  18. provider:
  19. type: string
  20. label: 'Provider'
  21. plugin:
  22. type: string
  23. label: 'Plugin'
  24. settings:
  25. type: block.settings.[%parent.plugin]
  26. visibility:
  27. type: sequence
  28. label: 'Visibility Conditions'
  29. sequence:
  30. type: condition.plugin.[id]
  31. label: 'Visibility Condition'