You are here

business_rules_variable.schema.yml in Business Rules 8

Same filename and directory in other branches
  1. 2.x config/schema/business_rules_variable.schema.yml
config/schema/business_rules_variable.schema.yml

File

config/schema/business_rules_variable.schema.yml
View source
  1. business_rules.variable.*:
  2. type: config_entity
  3. label: 'Variable config'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. label:
  9. type: label
  10. label: 'Label'
  11. uuid:
  12. type: string
  13. type:
  14. type: string
  15. label: 'Type'
  16. description:
  17. type: text
  18. label: 'Description'
  19. target_entity_type:
  20. type: string
  21. label: 'Entity type'
  22. target_bundle:
  23. type: string
  24. label: 'Bundle'
  25. tags:
  26. type: sequence
  27. label: 'Tags'
  28. sequence:
  29. type: string
  30. label: 'Tag'
  31. settings:
  32. type: business_rules.variable.type.[%parent.type]
  33. business_rules.variable.type.entity_filed_variable:
  34. type: mapping
  35. label: 'Get value from entity'
  36. mapping:
  37. data:
  38. type: string
  39. label: 'Data to receive the value'
  40. field:
  41. type: string
  42. label: 'Field'
  43. business_rules.variable.type.entity_empty_variable:
  44. type: mapping
  45. label: 'Get value from entity'
  46. business_rules.variable.type.custom_value_variable:
  47. type: mapping
  48. label: 'Custom value variable'
  49. mapping:
  50. value:
  51. type: string
  52. label: 'Value'
  53. business_rules.variable.type.user_variable:
  54. type: mapping
  55. label: 'User variable'
  56. mapping:
  57. current_or_defined: #current|defined
  58. type: string
  59. label: 'Current user or load user by id'
  60. user_id:
  61. type: string
  62. label: 'User id'
  63. business_rules.variable.type.view_result_variable:
  64. type: mapping
  65. label: 'View result variable'
  66. mapping:
  67. view:
  68. type: string
  69. label: 'View'
  70. view_html:
  71. type: bolean
  72. label: 'Markup Values'
  73. arguments:
  74. type: string
  75. label: 'Arguments'
  76. #business_rules.variable.type.array_variable:
  77. # type: mapping
  78. # label: 'Array variable'
  79. # mapping:
  80. # fields:
  81. # type: sequence
  82. # label: 'Fields'
  83. # sequence:
  84. # type: mapping
  85. # mapping:
  86. # id:
  87. # type: string
  88. # label: 'Id'
  89. # label:
  90. # type: text
  91. # label: 'Label'
  92. # type:
  93. # type: string
  94. # label: 'Type'