You are here

imce.schema.yml in IMCE 8

Same filename and directory in other branches
  1. 8.2 config/schema/imce.schema.yml
config/schema/imce.schema.yml

File

config/schema/imce.schema.yml
View source
  1. # Imce settings
  2. imce.settings:
  3. type: config_object
  4. label: 'Imce settings'
  5. mapping:
  6. abs_urls:
  7. type: boolean
  8. label: 'Enable absolute URLs'
  9. admin_theme:
  10. type: boolean
  11. label: 'Use admin theme for IMCE paths'
  12. roles_profiles:
  13. type: sequence
  14. label: 'Role-profile assignments'
  15. sequence:
  16. - type: sequence
  17. sequence:
  18. - type: string
  19. # Imce Profile entity
  20. imce.profile.*:
  21. type: config_entity
  22. label: 'Imce Profile'
  23. mapping:
  24. id:
  25. type: string
  26. label: 'ID'
  27. label:
  28. type: label
  29. label: 'Name'
  30. description:
  31. type: label
  32. label: 'Description'
  33. conf:
  34. type: sequence
  35. label: 'Configuration'
  36. sequence:
  37. - type: imce.profile_conf.[%key]
  38. # Profile configuration options
  39. imce.profile_conf.extensions:
  40. type: string
  41. label: 'Allowed file extensions'
  42. imce.profile_conf.maxsize:
  43. type: float
  44. label: 'Maximum file size'
  45. imce.profile_conf.quota:
  46. type: float
  47. label: 'Disk quota'
  48. imce.profile_conf.maxwidth:
  49. type: integer
  50. label: 'Maximum image width'
  51. imce.profile_conf.maxheight:
  52. type: integer
  53. label: 'Maximum image height'
  54. imce.profile_conf.replace:
  55. type: integer
  56. label: 'Upload replace method'
  57. imce.profile_conf.thumbnail_style:
  58. type: string
  59. label: 'Thumbnail style'
  60. imce.profile_conf.thumbnail_grid_style:
  61. type: boolean
  62. label: 'Thumbnail grid style'
  63. imce.profile_conf.folders:
  64. type: sequence
  65. label: 'Folders'
  66. sequence:
  67. - type: mapping
  68. label: 'Folder'
  69. mapping:
  70. path:
  71. type: string
  72. label: 'Path'
  73. permissions:
  74. type: sequence
  75. label: 'Permissions'
  76. sequence:
  77. - type: boolean
  78. # File field settings
  79. field.widget.third_party.imce:
  80. type: mapping
  81. label: 'Imce field widget settings'
  82. mapping:
  83. enabled:
  84. type: boolean
  85. label: 'Imce enabled'