You are here

og.schema.yml in Organic groups 8

config/schema/og.schema.yml

File

config/schema/og.schema.yml
View source
  1. field.storage_settings.og_standard_reference:
  2. type: field.storage_settings.entity_reference
  3. label: 'Organic Groups reference field storage settings'
  4. field.field_settings.og_standard_reference:
  5. type: field.field_settings.entity_reference
  6. label: 'Organic Groups reference field settings'
  7. entity_reference_selection.og:default:
  8. type: entity_reference_selection.default
  9. label: 'The OG selection handler settings'
  10. og.settings:
  11. type: config_object
  12. label: 'Organic Groups settings'
  13. mapping:
  14. groups:
  15. type: sequence
  16. sequence:
  17. type: og.settings.group.[%key]
  18. group_manager_full_access:
  19. type: boolean
  20. label: 'Full access for group managers'
  21. node_access_strict:
  22. type: boolean
  23. label: 'Strict node access permissions'
  24. delete_orphans:
  25. type: boolean
  26. label: 'Delete orphaned group content when a group is deleted'
  27. delete_orphans_plugin_id:
  28. type: string
  29. label: 'The method to use when deleting orphaned group content'
  30. deny_subscribe_without_approval:
  31. type: boolean
  32. label: 'When enabled, a user that ask to join to a private group their membership status will be pending regardless of the group permissions'
  33. group_resolvers:
  34. type: sequence
  35. label: 'List of OgGroupResolver plugins that are used to discover the group context, in order of priority.'
  36. sequence:
  37. type: string
  38. label: 'OgGroupResolver plugin ID.'
  39. og.settings.group.*:
  40. type: sequence
  41. label: 'OG groups'
  42. sequence:
  43. type: string
  44. label: 'Group'
  45. og.og_membership_type.*:
  46. type: config_entity
  47. label: 'OG membership type'
  48. mapping:
  49. type:
  50. type: string
  51. label: 'ID'
  52. name:
  53. type: string
  54. label: 'Name'
  55. description:
  56. type: string
  57. label: 'Description'
  58. status:
  59. type: boolean
  60. label: 'Status'
  61. # Copied and adapted from user.schema.yml
  62. og.og_role.*:
  63. type: config_entity
  64. label: 'OG user role settings'
  65. mapping:
  66. id:
  67. type: string
  68. label: 'ID'
  69. label:
  70. type: label
  71. label: 'Label'
  72. weight:
  73. type: integer
  74. label: 'User role weight'
  75. group_id:
  76. type: string
  77. label: 'Group ID'
  78. group_type:
  79. type: string
  80. label: 'Group type'
  81. group_bundle:
  82. type: string
  83. label: 'Group bundle'
  84. is_admin:
  85. type: boolean
  86. label: 'User is group admin'
  87. permissions:
  88. type: sequence
  89. label: 'Permissions'
  90. sequence:
  91. type: string
  92. label: 'Permission'
  93. role_type:
  94. type: string
  95. label: 'Role type'
  96. field.widget.settings.og_complex:
  97. type: field.widget.settings.entity_reference_autocomplete
  98. label: 'OG Group Audience field widget'
  99. mapping:
  100. # This already exists in field.widget.settings.entity_reference_autocomplete
  101. # in Drupal 8.8.x and is added here just to ensure backwards compatibility
  102. # with Drupal 8.7.x.
  103. # @todo Remove this entry in https://github.com/Gizra/og/issues/581
  104. # @see https://github.com/Gizra/og/issues/581
  105. match_limit:
  106. type: integer
  107. label: 'Maximum number of autocomplete suggestions.'
  108. views.field.og_membership_bulk_form:
  109. type: views_field_bulk_form
  110. label: 'OG Membership bulk form'
  111. action.configuration.og_membership_add_multiple_roles_action:
  112. type: action_configuration_default
  113. label: 'Add roles to the selected membership(s)'
  114. action.configuration.og_membership_add_single_role_action:
  115. type: action_configuration_default
  116. label: 'Add a role to a group member'
  117. action.configuration.og_membership_approve_pending_action:
  118. type: action_configuration_default
  119. label: 'Approve the pending membership(s)'
  120. action.configuration.og_membership_block_action:
  121. type: action_configuration_default
  122. label: 'Block the selected membership(s)'
  123. action.configuration.og_membership_delete_action:
  124. type: action_configuration_default
  125. label: 'Delete the selected membership(s)'
  126. action.configuration.og_membership_remove_single_role_action:
  127. type: action_configuration_default
  128. label: 'Remove a role to a group member'
  129. action.configuration.og_membership_remove_multiple_roles_action:
  130. type: action_configuration_default
  131. label: 'Remove roles from the selected membership(s)'
  132. action.configuration.og_membership_unblock_action:
  133. type: action_configuration_default
  134. label: 'Unblock the selected membership(s)'
  135. condition.plugin.og_group_type:
  136. type: condition.plugin
  137. mapping:
  138. group_types:
  139. type: sequence
  140. sequence:
  141. type: string
  142. block.settings.og_member_count:
  143. type: block_settings
  144. label: 'Group member count block'
  145. mapping:
  146. count_blocked_users:
  147. type: boolean
  148. label: 'Count blocked users'
  149. count_pending_users:
  150. type: boolean
  151. label: 'Count pending users'