You are here

commerce_cart_blocks.schema.yml in Commerce Cart Blocks 8

config/schema/commerce_cart_blocks.schema.yml

File

config/schema/commerce_cart_blocks.schema.yml
View source
  1. block.settings.commerce_cart_blocks_button:
  2. type: block_settings
  3. label: 'Cart button'
  4. mapping:
  5. hide_if_empty:
  6. type: boolean
  7. label: 'Hide if empty'
  8. display_links:
  9. type: sequence
  10. label: 'Display links'
  11. sequence:
  12. type: string
  13. button_label:
  14. type: label
  15. label: 'Button label'
  16. cart_link_text:
  17. type: label
  18. label: 'Cart link text'
  19. checkout_link_text:
  20. type: label
  21. label: 'Checkout link text'
  22. count_text_singular:
  23. type: label
  24. label: 'Count text (singular)'
  25. count_text_plural:
  26. type: label
  27. label: 'Count text (plural)'
  28. count_text_empty:
  29. type: label
  30. label: 'Count text (Empty)'
  31. dropdown:
  32. type: boolean
  33. label: 'Dropdown'
  34. icon_type:
  35. type: string
  36. label: 'Icon type'
  37. icon_class:
  38. type: string
  39. label: 'Icon class'
  40. block.settings.commerce_cart_blocks_cart:
  41. type: block_settings
  42. label: 'Cart'
  43. mapping:
  44. hide_if_empty:
  45. type: boolean
  46. label: 'Hide if empty'
  47. display_links:
  48. type: sequence
  49. label: 'Display links'
  50. sequence:
  51. type: string
  52. heading_text:
  53. type: label
  54. label: 'Heading text'
  55. cart_link_text:
  56. type: label
  57. label: 'Cart link text'
  58. checkout_link_text:
  59. type: label
  60. label: 'Checkout link text'
  61. count_text_singular:
  62. type: label
  63. label: 'Count text (singular)'
  64. count_text_plural:
  65. type: label
  66. label: 'Count text (plural)'
  67. count_text_empty:
  68. type: label
  69. label: 'Count text (empty)'
  70. display_heading:
  71. type: boolean
  72. label: 'Display heading'
  73. show_items:
  74. type: boolean
  75. label: 'Show items'