You are here

physical.schema.yml in Physical Fields 8

config/schema/physical.schema.yml

File

config/schema/physical.schema.yml
View source
  1. field.storage_settings.physical_measurement:
  2. type: mapping
  3. label: 'Measurement settings'
  4. mapping:
  5. measurement_type:
  6. type: string
  7. label: 'Measurement type'
  8. field.value.physical_dimensions:
  9. type: mapping
  10. label: 'Dimensions'
  11. mapping:
  12. length:
  13. type: string
  14. label: 'Length'
  15. width:
  16. type: string
  17. label: 'Width'
  18. height:
  19. type: string
  20. label: 'Height'
  21. unit:
  22. type: string
  23. label: 'Unit'
  24. field.value.physical_measurement:
  25. type: mapping
  26. label: 'Measurement'
  27. mapping:
  28. number:
  29. type: string
  30. label: 'Number'
  31. unit:
  32. type: string
  33. label: 'Unit'
  34. field.widget.settings.physical_dimensions_default:
  35. type: mapping
  36. label: 'Default dimension widget settings'
  37. mapping:
  38. default_unit:
  39. type: string
  40. label: 'Default unit'
  41. allow_unit_change:
  42. type: boolean
  43. label: 'Allow unit change'
  44. field.widget.settings.physical_measurement_default:
  45. type: mapping
  46. label: 'Default measurement widget settings'
  47. mapping:
  48. default_unit:
  49. type: string
  50. label: 'Default unit'
  51. allow_unit_change:
  52. type: boolean
  53. label: 'Allow unit change'