rules.links.action.yml

rules.links.action.yml

File

./rules.links.action.yml

View source
  1. # Action links for Rules module.
  2. # Rules reaction related actions.
  3. rules_reaction_rule_add_action:
  4. title: 'Add reaction rule'
  5. route_name: entity.rules_reaction_rule.add_form
  6. appears_on:
  7. - entity.rules_reaction_rule.collection
  8. # Rules component related actions.
  9. rules_component_add_action:
  10. title: 'Add component'
  11. route_name: entity.rules_component.add_form.rule
  12. appears_on:
  13. - entity.rules_component.collection
  14. # Shortcut to import Reaction Rules.
  15. rules_import_rule_action:
  16. title: 'Import rule'
  17. route_name: config.import_single
  18. options:
  19. query:
  20. - destination: admin/config/workflow/rules
  21. appears_on:
  22. - entity.rules_reaction_rule.collection
  23. # Shortcut to import Rules Components.
  24. rules_import_component_action:
  25. title: 'Import component'
  26. route_name: config.import_single
  27. options:
  28. query:
  29. - destination: admin/config/workflow/rules/components
  30. appears_on:
  31. - entity.rules_component.collection
  32. # Shortcut to export Reaction Rules.
  33. rules_export_rule_action:
  34. title: 'Export rule'
  35. route_name: config.export_single
  36. options:
  37. query:
  38. - destination: admin/config/workflow/rules
  39. appears_on:
  40. - entity.rules_reaction_rule.collection
  41. # Shortcut to export Rules Components.
  42. rules_export_component_action:
  43. title: 'Export component'
  44. route_name: config.export_single
  45. options:
  46. query:
  47. - destination: admin/config/workflow/rules/components
  48. appears_on:
  49. - entity.rules_component.collection