rules.component.rules_test_default_component.yml

tests/modules/rules_test_default_component/config/install/rules.component.rules_test_default_component.yml

File

tests/modules/rules_test_default_component/config/install/rules.component.rules_test_default_component.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - rules_test_default_component
  6. enforced:
  7. module:
  8. - rules_test_default_component
  9. id: rules_test_default_component
  10. label: Rules test default component
  11. description: 'Tests adding Rules component by default.'
  12. tags:
  13. - test
  14. config_version: '3'
  15. component:
  16. context_definitions:
  17. user:
  18. type: 'entity:user'
  19. label: User
  20. description: 'The user whose mail address to print.'
  21. provided_context_definitions:
  22. concatenated:
  23. type: 'string'
  24. label: Concatenated result
  25. description: 'The concatenated text.'
  26. expression:
  27. id: rules_rule
  28. uuid: 0098a33a-1f26-4e3c-9031-206ffade5ab1
  29. conditions:
  30. id: rules_and
  31. uuid: 0c3d7234-a90c-4d28-a07d-7ef997cf82ba
  32. conditions: { }
  33. actions:
  34. id: rules_action_set
  35. uuid: dae9f105-c02f-4b08-9f77-e4f108113ab2
  36. actions:
  37. -
  38. id: rules_action
  39. uuid: 850eb49d-1153-428d-8aae-a9b8d4b9eb47
  40. context_values:
  41. message: '{{ user.mail.value }}'
  42. type: status
  43. repeat: false
  44. context_mapping: { }
  45. context_processors:
  46. message:
  47. rules_tokens: { }
  48. type:
  49. rules_tokens: { }
  50. repeat:
  51. rules_tokens: { }
  52. provides_mapping: { }
  53. action_id: rules_system_message
  54. -
  55. id: rules_action
  56. uuid: 044cf79a-ec4b-45d5-87db-69bb3284889b
  57. context_values:
  58. text: '{{ user.mail.value }}'
  59. context_mapping: { }
  60. context_processors:
  61. text:
  62. rules_tokens: { }
  63. provides_mapping: { }
  64. action_id: rules_test_string