You are here

mobile_number.schema.yml in Mobile Number 8

Same filename and directory in other branches
  1. 2.0.x config/schema/mobile_number.schema.yml
config/schema/mobile_number.schema.yml

File

config/schema/mobile_number.schema.yml
View source
  1. # Schema for the configuration files of the Mobile Number module.
  2. # Storage schema.
  3. field.storage_settings.mobile_number:
  4. type: mapping
  5. label: Storage settings
  6. mapping:
  7. unique:
  8. type: integer
  9. label: Uniqueness
  10. # Field settings schema
  11. field.field_settings.mobile_number:
  12. type: mapping
  13. label: Field settings
  14. mapping:
  15. verify:
  16. type: string
  17. label: Verification
  18. countries:
  19. type: sequence
  20. label: Allowed Countries
  21. sequence:
  22. type: string
  23. label: Country
  24. message:
  25. type: string
  26. label: Verification message
  27. # Widget settings schema
  28. field.widget.settings.mobile_number_default:
  29. type: mapping
  30. label: Widget settings
  31. mapping:
  32. countries:
  33. type: sequence
  34. label: Allowed Countries
  35. sequence:
  36. type: string
  37. label: Country
  38. default_country:
  39. type: string
  40. label: Default Country
  41. placeholder:
  42. type: string
  43. label: Placeholder
  44. # Custom settings schema
  45. mobile_number.settings:
  46. type: config_object
  47. label: 'Mobile Number settings'
  48. mapping:
  49. tfa_field:
  50. type: string
  51. label: 'TFA User Field'
  52. verification_secret:
  53. label: 'Verification Secret'
  54. type: string