You are here

acquia_contenthub.schema.yml in Acquia Content Hub 8

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

File

config/schema/acquia_contenthub.schema.yml
View source
  1. # Schema for the configuration files of the Acquia Content Hub module.
  2. acquia_contenthub.admin_settings:
  3. type: config_object
  4. label: 'Acquia Content Hub admin settings'
  5. mapping:
  6. hostname:
  7. type: string
  8. label: "Content Hub API Hostname."
  9. api_key:
  10. type: string
  11. label: "Content Hub API Key."
  12. secret_key:
  13. type: string
  14. label: "Content Hub API Secret Key."
  15. rewrite_domain:
  16. type: string
  17. label: "Rewrite current domain to the domain set in this variable to 'fool' content hub where to fetch the content from. Useful with tunnels such as ngrok."
  18. client_name:
  19. type: string
  20. label: "Name of the current site as known in Acquia Content Hub."
  21. origin:
  22. type: string
  23. label: "Content Hub Token for this site."
  24. acquia_contenthub.entity_config:
  25. type: config_object
  26. label: 'Acquia Content Hub entity configuration settings'
  27. mapping:
  28. user_role:
  29. type: string
  30. label: "Role to use when converting an Entity to a CDF with or without Metadata"
  31. dependency_depth:
  32. type: integer
  33. label: "The maximum level of dependencies to collect for exporting entities"
  34. use_block_content_view_builder:
  35. type: boolean
  36. label: "If true, uses block_content view builder instead of block plugin render."
  37. export_with_queue:
  38. type: integer
  39. label: "Whether to export entities using the queue"
  40. export_queue_entities_per_item:
  41. type: integer
  42. label: "Number of top-level entities that will be included in each item."
  43. export_queue_batch_size:
  44. type: integer
  45. label: "Number of items that will be processed in the same batch."
  46. export_queue_waiting_time:
  47. type: integer
  48. label: "Waiting time in seconds between processing queue items."
  49. delete_mismatching_translations:
  50. type: integer
  51. label: "Delete mismatching translations when importing content."
  52. acquia_contenthub.entity.*:
  53. type: config_entity
  54. label: 'Acquia Content Hub entity type configuration'
  55. mapping:
  56. id:
  57. type: string
  58. label: 'REST resource config ID'
  59. bundles:
  60. type: sequence
  61. label: 'Entity bundle configuration'
  62. sequence:
  63. type: mapping
  64. label: 'A specific entity bundle configuration'
  65. mapping:
  66. enable_index:
  67. type: boolean
  68. label: 'Defines if this is being sent to Content Hub.'
  69. enable_viewmodes:
  70. type: boolean
  71. label: 'Defines if we want to index view modes to Content Hub.'
  72. rendering:
  73. type: sequence
  74. label: 'Defines which view modes are enabled for this entity bundle.'
  75. sequence:
  76. type: string
  77. label: 'An enabled view mode'
  78. preview_image_field:
  79. type: string
  80. label: 'A mapping string to the field which holds the image file.'
  81. preview_image_style:
  82. type: string
  83. label: 'A image style machine name.'