You are here

pbf.schema.yml in Permissions by field 8

config/schema/pbf.schema.yml

File

config/schema/pbf.schema.yml
View source
  1. pbf.settings:
  2. type: config_object
  3. label: 'Pbf settings'
  4. mapping:
  5. pbf_roles_gids:
  6. type: sequence
  7. label: 'Role - Grant Id mapping array'
  8. sequence:
  9. type: integer
  10. label: 'Grant ID'
  11. # Schema for the configuration of the Pbf field type.
  12. field.storage_settings.pbf:
  13. type: mapping
  14. label: 'Pbf field storage settings'
  15. mapping:
  16. target_type:
  17. type: string
  18. label: 'Type of item to reference'
  19. field.field_settings.pbf:
  20. type: mapping
  21. label: 'Pbf field settings'
  22. mapping:
  23. handler:
  24. type: string
  25. label: 'Reference method'
  26. handler_settings:
  27. type: entity_reference_selection.[%parent.handler]
  28. label: 'Entity reference selection plugin settings'
  29. priority:
  30. type: integer
  31. label: 'Priority access'
  32. user_method:
  33. type: string
  34. label: 'Method to grant access for user referenced'
  35. synchronized_with:
  36. type: string
  37. label: 'Field synchronize an another field'
  38. synchronized_by:
  39. type: string
  40. label: 'Field is synchronized by an another field'
  41. synchronized_from_target:
  42. type: integer
  43. label: 'Targeted field can synchronize source field'
  44. field.value.pbf:
  45. type: mapping
  46. label: 'Default value'
  47. mapping:
  48. target_id:
  49. type: string
  50. label: 'Value'
  51. target_uuid:
  52. type: string
  53. label: 'Target UUID'
  54. grant_public:
  55. type: integer
  56. label: 'Public access'
  57. grant_view:
  58. type: integer
  59. label: 'Grant view'
  60. grant_update:
  61. type: integer
  62. label: 'Grant update'
  63. grant_delete:
  64. type: integer
  65. label: 'Grant delete'
  66. field.widget.settings.pbf_widget:
  67. type: mapping
  68. label: 'PBF widget settings'
  69. mapping:
  70. match_operator:
  71. type: string
  72. label: 'Method for autocomplete suggestion'
  73. match_limit:
  74. type: integer
  75. label: 'Maximum number of autocomplete suggestions.'
  76. size:
  77. type: string
  78. label: 'Size for textfield'
  79. placeholder:
  80. type: string
  81. label: 'Placeholder for textfield'
  82. grant_global:
  83. type: integer
  84. label: 'Set grant settings generally'
  85. grant_public:
  86. type: integer
  87. label: 'Public access'
  88. grant_view:
  89. type: integer
  90. label: 'Grant view'
  91. grant_update:
  92. type: integer
  93. label: 'Grant update'
  94. grant_delete:
  95. type: integer
  96. label: 'Grant delete'
  97. field.formatter.settings.pbf_formatter_default:
  98. type: mapping
  99. label: 'Pbf display format settings'
  100. mapping:
  101. link:
  102. type: boolean
  103. label: 'Link label to the referenced entity'