You are here

entityqueue.schema.yml in Entityqueue 8

config/schema/entityqueue.schema.yml

File

config/schema/entityqueue.schema.yml
View source
  1. entityqueue.entity_queue.*:
  2. type: config_entity
  3. label: 'EntityQueue config'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. label:
  9. type: label
  10. label: 'Label'
  11. handler:
  12. type: string
  13. label: 'Queue handler'
  14. handler_configuration:
  15. type: entityqueue_handler_configuration.[%parent.handler]
  16. label: 'Queue handler configuration'
  17. entity_settings:
  18. type: mapping
  19. label: 'Entity settings'
  20. mapping:
  21. target_type:
  22. type: string
  23. label: 'Type of items to queue'
  24. handler:
  25. type: string
  26. label: 'Reference method'
  27. handler_settings:
  28. type: entity_reference_selection.[%parent.handler]
  29. label: 'Entity reference selection plugin settings'
  30. queue_settings:
  31. type: mapping
  32. label: 'Queue settings'
  33. mapping:
  34. min_size:
  35. type: integer
  36. label: 'Minimun queue size'
  37. max_size:
  38. type: integer
  39. label: 'Maximum queue size'
  40. act_as_queue:
  41. type: boolean
  42. label: 'Act as queue'
  43. reverse:
  44. type: boolean
  45. label: 'New items will be added to the top of the queue, instead of the bottom'
  46. # Base schema for all entity queue handler schemas.
  47. entityqueue_handler_configuration:
  48. type: mapping
  49. label: 'Entity queue handler configuration'
  50. # Schema for all entity queue handlers that are not providing a specific schema.
  51. entityqueue_handler_configuration.*:
  52. type: entityqueue_handler_configuration
  53. # Schema for the dragtable widget.
  54. field.widget.settings.entityqueue_dragtable:
  55. type: field.widget.settings.entity_reference_autocomplete
  56. label: 'Entityqueue dragtable widget'
  57. mapping:
  58. link_to_entity:
  59. type: boolean
  60. label: 'Link to entity'
  61. link_to_edit_form:
  62. type: boolean
  63. label: 'Link to edit form'
  64. views.relationship.entity_queue:
  65. type: views_relationship
  66. label: 'Entity queue'
  67. mapping:
  68. limit_queue:
  69. type: string
  70. label: 'Limit to a specific entity queue'