business_rules.routing.yml in Business Rules 8
Same filename and directory in other branches
24 string references to YAML keys in business_rules.routing.yml
- ActionSet::formItems in src/
Plugin/ BusinessRulesAction/ ActionSet.php - Provide the form fields for add Business Rule's Items.
- ActionSetController::itemsTable in src/
Controller/ ActionSetController.php - The items table.
- BusinessRuleForm::form in src/
Form/ BusinessRuleForm.php - Gets the actual form array to be built.
- BusinessRuleForm::formItems in src/
Form/ BusinessRuleForm.php - Provide the form fields for add Business Rule's Items.
- BusinessRulesDebugBlock::__construct in src/
Plugin/ Block/ BusinessRulesDebugBlock.php
File
business_rules.routing.ymlView source
- # Settings
- business_rules.settings:
- path: '/admin/config/workflow/business_rules/settings'
- defaults:
- _form: '\Drupal\business_rules\Form\BusinessRulesSettingsForm'
- _title: 'Business rules Settings'
- requirements:
- _permission: 'administer site configuration'
-
- # Disable business rule
- entity.business_rule.disable:
- path: '/admin/config/workflow/business_rule/{business_rule}/disable'
- defaults:
- _controller: '\Drupal\business_rules\Controller\BusinessRuleController::disable'
- entity_type: 'business_rule'
- requirements:
- _permission: 'administer site configuration'
-
- # Enable business rule
- entity.business_rule.enable:
- path: '/admin/config/workflow/business_rule/{business_rule}/enable'
- defaults:
- _controller: '\Drupal\business_rules\Controller\BusinessRuleController::enable'
- entity_type: 'business_rule'
- requirements:
- _permission: 'administer site configuration'
-
- # Show table which the available conditions for condition_set
- business_rules.condition_set.items.table:
- path: '/admin/config/workflow/business_rule/condition/{condition_id}/items/{method}/condition_set/table'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ConditionSetController::itemsTable'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
- item_type: 'action|condition'
-
- # Add item on condition_set Condition
- business_rules.condition_set.items.add:
- path: '/admin/config/workflow/business_rule/condition/{condition_id}/items/{item_id}/condition_set/add'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ConditionSetController::addItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
-
- # Remove item from condition_set Condition
- business_rules.condition_set.items.remove:
- path: '/admin/config/workflow/business_rule/condition/{condition_id}/items/{item_id}/condition_set/remove/{method}'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ConditionSetController::removeItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
- condition_item_type: 'success|fail'
- method: 'nojs|ajax'
-
- # Show table which the available actions for action_set
- business_rules.action_set.items.table:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{method}/action_set/table'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ActionSetController::itemsTable'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
- item_type: 'action|condition'
-
- # Add item on action_set Action
- business_rules.action_set.items.add:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{item_id}/action_set/add'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ActionSetController::addItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
-
- # Remove item from action_set
- business_rules.action_set.items.remove:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{item_id}/action_set/remove/{method}'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ActionSetController::removeItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
- condition_item_type: 'success|fail'
- method: 'nojs|ajax'
-
- # Show table which the available actions for action_set
- business_rules.schedule_task.items.table:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{method}/schedule_task/{item_type}/table'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ScheduleTaskController::itemsTable'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
- item_type: 'action|condition'
-
- # Add item on action_set Action
- business_rules.schedule_task.items.add:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{item_id}/schedule_task/{item_type}/add'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ScheduleTaskController::addItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
-
- # Remove item from action_set
- business_rules.schedule_task.items.remove:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{item_id}/schedule_task/remove/{method}'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ScheduleTaskController::removeItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
- condition_item_type: 'success|fail'
- method: 'nojs|ajax'
-
- # Modal for help content.
- business_rules.ajax.modal:
- path: 'admin/config/workflow/business_rules/modal/{title}/{collection}/{key}/{method}'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ModalController::modal'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
-
- # Show table which the available items
- business_rules.items.table:
- path: '/admin/config/workflow/business_rule/{business_rule}/items/{item_type}/{method}/table'
- defaults:
- _controller: '\Drupal\business_rules\Controller\BusinessRulesItemsController::itemsTable'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
- item_type: 'action|condition'
-
- # Add item on rule
- business_rules.items.add:
- path: '/admin/config/workflow/business_rule/{business_rule}/items/{item_type}/{item_id}/add'
- defaults:
- _controller: '\Drupal\business_rules\Controller\BusinessRulesItemsController::addItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
-
- # Remove item from rule
- business_rules.items.remove:
- path: 'admin/config/workflow/business_rule/{business_rule}/items/{item_type}/{item_id}/remove/{method}'
- defaults:
- _controller: '\Drupal\business_rules\Controller\BusinessRulesItemsController::removeItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
- method: 'nojs|ajax'
-
- # Show table which the available items
- business_rules.condition.items.table:
- path: '/admin/config/workflow/business_rule/condition/{condition_id}/items/{condition_item_type}/{item_type}/{method}/table'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ConditionsItemsController::itemsTable'
- requirements:
- _permission: 'administer site configuration'
- condition_item_type: 'success|fail'
- method: 'nojs|ajax'
- item_type: 'action|condition'
-
- # Add item on condition
- business_rules.condition.items.add:
- path: '/admin/config/workflow/business_rule/condition/{condition_id}/items/{condition_item_type}/{item_type}/{item_id}/add'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ConditionsItemsController::addItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
- condition_item_type: 'success|fail'
-
- # Remove item from condition
- business_rules.condition.items.remove:
- path: '/admin/config/workflow/business_rule/condition/{condition_id}/items/{condition_item_type}/{item_type}/{item_id}/remove/{method}'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ConditionsItemsController::removeItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
- condition_item_type: 'success|fail'
- method: 'nojs|ajax'
-
- # Show table which the available items for loop_through_view_result
- business_rules.loop_through_view_result.items.table:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{item_type}/{method}/loop_through_view_result/table'
- defaults:
- _controller: '\Drupal\business_rules\Controller\LoopThroughViewResultController::itemsTable'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
- item_type: 'action|condition'
-
- # Add item on loop_through_view_result Action
- business_rules.loop_through_view_result.items.add:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{item_type}/{item_id}/loop_through_view_result/add'
- defaults:
- _controller: '\Drupal\business_rules\Controller\LoopThroughViewResultController::addItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
-
- # Remove item from loop_through_view_result
- business_rules.loop_through_view_result.items.remove:
- path: '/admin/config/workflow/business_rule/action/{action_id}/items/{item_type}/{item_id}/remove/{method}/loop_through_view_result'
- defaults:
- _controller: '\Drupal\business_rules\Controller\LoopThroughViewResultController::removeItem'
- requirements:
- _permission: 'administer site configuration'
- item_type: 'action|condition'
- condition_item_type: 'success|fail'
- method: 'nojs|ajax'
-
- # Remove field and value from fill_entity_variable_fields plugin action
- business_rules.plugins.action.fill_entity_variable_fields.remove_field:
- path: '/admin/config/workflow/business_rule/action/{action}/fill_entity_variable_fields/{field}/{method}'
- defaults:
- _controller: '\Drupal\business_rules\Plugin\BusinessRulesAction\FillEntityVariableFields::removeFieldValue'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
-
- business_rules.autocomplete_tags:
- path: '/admin/config/workflow/business_rule/tags/auto-complete'
- defaults:
- _controller: '\Drupal\business_rules\Controller\AutocompleteTags::handleAutocomplete'
- _format: json
- requirements:
- _permission: 'administer site configuration'
-
- business_rules.plugins.action.change_field_info.remove_field:
- path: '/admin/config/workflow/business_rule/action/{action}/change_field_info/{field}/{method}'
- defaults:
- _controller: '\Drupal\business_rules\Plugin\BusinessRulesAction\ChangeFieldInfo::removeField'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
-
- business_rules.plugins.action.change_field_info.info_form:
- path: '/admin/config/workflow/business_rule/action/{action}/change_field_info/add_info/{field}'
- defaults:
- _form: '\Drupal\business_rules\Form\ChangeFieldInfoForm'
- requirements:
- _permission: 'administer site configuration'
- method: 'nojs|ajax'
-
- entity.business_rules_schedule.canonical:
- path: '/admin/config/workflow/business_rules/schedule/{business_rules_schedule}'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ScheduleController::view'
- requirements:
- _permission: 'view schedule entities'
-
- entity.business_rules_schedule.execute:
- path: '/admin/config/workflow/business_rules/schedule/execute/{business_rules_schedule}'
- defaults:
- _controller: '\Drupal\business_rules\Controller\ScheduleController::execute'
- requirements:
- _permission: 'execute schedule entities'