block_content.schema.yml

Same filename and directory in other branches
  1. 9 core/modules/block_content/config/schema/block_content.schema.yml
  2. 8.9.x core/modules/block_content/config/schema/block_content.schema.yml
  3. 10 core/modules/block_content/config/schema/block_content.schema.yml
core/modules/block_content/config/schema/block_content.schema.yml

File

core/modules/block_content/config/schema/block_content.schema.yml

View source
  1. # Schema for the configuration files of the Content Block module.
  2. block_content.type.*:
  3. type: config_entity
  4. label: 'Block type settings'
  5. mapping:
  6. id:
  7. type: machine_name
  8. label: 'ID'
  9. label:
  10. type: required_label
  11. label: 'Label'
  12. revision:
  13. type: boolean
  14. label: 'Whether a new revision should be created by default'
  15. description:
  16. type: text
  17. label: 'Description'
  18. nullable: true
  19. constraints:
  20. NotBlank:
  21. allowNull: true
  22. constraints:
  23. FullyValidatable: ~

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