rules.routing.yml

rules.routing.yml
11 string references to YAML keys in rules.routing.yml
AddEventForm::submitForm in src/Form/AddEventForm.php
Form submission handler.
ReactionRuleAddForm::save in src/Form/ReactionRuleAddForm.php
Form submission handler for the 'save' action.
ReactionRuleEditForm::cancel in src/Form/ReactionRuleEditForm.php
Form submission handler for the 'cancel' action.
RulesComponentAddForm::save in src/Form/RulesComponentAddForm.php
Form submission handler for the 'save' action.
RulesComponentEditForm::cancel in src/Form/RulesComponentEditForm.php
Form submission handler for the 'cancel' action.

... See full list

File

./rules.routing.yml

View source
  1. # Declaration of Rules routings.
  2. ### Rules settings form
  3. rules.settings:
  4. path: '/admin/config/workflow/rules/settings'
  5. defaults:
  6. _form: '\Drupal\rules\Form\RulesSettingsForm'
  7. _title: 'Rules settings'
  8. requirements:
  9. _permission: 'administer rules'
  10. ### Rules Reactions
  11. entity.rules_reaction_rule.collection:
  12. path: '/admin/config/workflow/rules'
  13. defaults:
  14. _entity_list: 'rules_reaction_rule'
  15. _title: 'Rules'
  16. requirements:
  17. _permission: 'administer rules+administer rules reactions'
  18. entity.rules_reaction_rule.add_form:
  19. path: '/admin/config/workflow/rules/reactions/add'
  20. defaults:
  21. _entity_form: 'rules_reaction_rule.add'
  22. _title: 'Add reaction rule'
  23. options:
  24. _rules_ui: rules.reaction_rules
  25. requirements:
  26. _permission: 'administer rules+administer rules reactions'
  27. entity.rules_reaction_rule.edit_form:
  28. path: '/admin/config/workflow/rules/reactions/edit/{rules_reaction_rule}'
  29. defaults:
  30. _entity_form: 'rules_reaction_rule.edit'
  31. _title_callback: '\Drupal\rules\Form\ReactionRuleEditForm::getTitle'
  32. options:
  33. _rules_ui: rules.reaction_rules
  34. requirements:
  35. _permission: 'administer rules+administer rules reactions'
  36. entity.rules_reaction_rule.delete_form:
  37. path: '/admin/config/workflow/rules/reactions/delete/{rules_reaction_rule}'
  38. defaults:
  39. _entity_form: 'rules_reaction_rule.delete'
  40. options:
  41. _rules_ui: rules.reaction_rules
  42. requirements:
  43. _permission: 'administer rules+administer rules reactions'
  44. entity.rules_reaction_rule.enable:
  45. path: '/admin/config/workflow/rules/reactions/enable/{rules_reaction_rule}'
  46. defaults:
  47. _controller: '\Drupal\rules\Controller\RulesReactionController::enableConfig'
  48. _title: 'Enable reaction rule'
  49. options:
  50. _rules_ui: rules.reaction_rules
  51. requirements:
  52. _permission: 'administer rules+administer rules reactions'
  53. _csrf_token: 'TRUE'
  54. entity.rules_reaction_rule.disable:
  55. path: '/admin/config/workflow/rules/reactions/disable/{rules_reaction_rule}'
  56. defaults:
  57. _controller: '\Drupal\rules\Controller\RulesReactionController::disableConfig'
  58. _title: 'Disable reaction rule'
  59. options:
  60. _rules_ui: rules.reaction_rules
  61. requirements:
  62. _permission: 'administer rules+administer rules reactions'
  63. _csrf_token: 'TRUE'
  64. ### Rules Components
  65. entity.rules_component.collection:
  66. path: '/admin/config/workflow/rules/components'
  67. defaults:
  68. # Calls the list controller, defined in the annotation of the rules component entity.
  69. _entity_list: 'rules_component'
  70. _title: 'Rules components'
  71. requirements:
  72. _permission: 'administer rules+administer rules components'
  73. entity.rules_component.add_form.rule:
  74. path: '/admin/config/workflow/rules/components/add/rule'
  75. defaults:
  76. _entity_form: 'rules_component.add'
  77. _title: 'Add rule'
  78. options:
  79. _rules_ui: rules.components
  80. requirements:
  81. _permission: 'administer rules+administer rules components'
  82. entity.rules_component.edit_form:
  83. path: '/admin/config/workflow/rules/components/edit/{rules_component}'
  84. defaults:
  85. _entity_form: 'rules_component.edit'
  86. _title_callback: '\Drupal\rules\Form\RulesComponentEditForm::getTitle'
  87. options:
  88. _rules_ui: rules.components
  89. requirements:
  90. _permission: 'administer rules+administer rules components'
  91. entity.rules_component.delete_form:
  92. path: '/admin/config/workflow/rules/components/delete/{rules_component}'
  93. defaults:
  94. _entity_form: 'rules_component.delete'
  95. options:
  96. _rules_ui: rules.components
  97. requirements:
  98. _permission: 'administer rules+administer rules components'