You are here

userprotect.schema.yml in User protect 8

config/schema/userprotect.schema.yml

File

config/schema/userprotect.schema.yml
View source
  1. # Schema for configuration files of the User protect module.
  2. userprotect.rule.*:
  3. type: config_entity
  4. label: 'Protection rule'
  5. mapping:
  6. name:
  7. type: string
  8. label: 'Machine name'
  9. label:
  10. type: label
  11. label: 'Name'
  12. protectedEntityTypeId:
  13. type: string
  14. label: 'Protected entity type'
  15. protectedEntityId:
  16. type: string
  17. label: 'Protected entity ID'
  18. protections:
  19. type: sequence
  20. label: 'Protection'
  21. sequence:
  22. type: user_protection
  23. langcode:
  24. type: string
  25. label: 'Default language'
  26. status:
  27. type: boolean
  28. label: 'Enabled'
  29. dependencies:
  30. type: config_dependencies
  31. label: 'Dependencies'
  32. # User protection plugin.
  33. user_protection:
  34. type: mapping
  35. label: 'User protection'
  36. mapping:
  37. id:
  38. type: string
  39. label: 'ID'
  40. provider:
  41. type: string
  42. label: 'Provider'
  43. status:
  44. type: boolean
  45. label: 'Status'
  46. weight:
  47. type: integer
  48. label: 'Weight'