business_rules.links.task.yml in Business Rules 2.x
File
business_rules.links.task.yml
View source
- business_rules.entities:
- class: \Drupal\Core\Menu\LocalTaskDefault
- deriver: \Drupal\business_rules\Plugin\Derivative\BusinessRulesLocalTask
- entity.business_rule.collection:
- title: 'Rules'
- route_name: entity.business_rule.collection
- base_route: entity.business_rule.collection
- weight: 0
-
- entity.business_rules_condition.collection:
- title: 'Conditions'
- route_name: entity.business_rules_condition.collection
- base_route: entity.business_rule.collection
- weight: 20
-
- entity.business_rules_action.collection:
- title: 'Actions'
- route_name: entity.business_rules_action.collection
- base_route: entity.business_rule.collection
- weight: 10
-
- entity.business_rules_variable.collection:
- title: 'Variables'
- route_name: entity.business_rules_variable.collection
- base_route: entity.business_rule.collection
- weight: 30
-
- entity.business_rules_schedule.collection:
- title: 'Schedule'
- route_name: entity.business_rules_schedule.collection
- base_route: entity.business_rule.collection
- description: 'Schedule list'
- parent: system.admin_structure
- weight: 40
-
- business_rules.settings:
- title: 'Settings'
- route_name: business_rules.settings
- base_route: entity.business_rule.collection
- weight: 50
-
- # Schedule routing definition
- business_rules_schedule.settings_tab:
- route_name: business_rules_schedule.settings
- title: 'Settings'
- base_route: business_rules_schedule.settings
-
- entity.business_rules_schedule.canonical:
- route_name: entity.business_rules_schedule.canonical
- base_route: entity.business_rules_schedule.canonical
- title: 'View'
-
- entity.business_rules_schedule.edit_form:
- route_name: entity.business_rules_schedule.edit_form
- base_route: entity.business_rules_schedule.canonical
- title: 'Edit'
-
- # TODO think about including revisions for schedule.
- #entity.business_rules_schedule.version_history:
- # route_name: entity.business_rules_schedule.version_history
- # base_route: entity.business_rules_schedule.canonical
- # title: 'Revisions'
-
- entity.business_rules_schedule.delete_form:
- route_name: entity.business_rules_schedule.delete_form
- base_route: entity.business_rules_schedule.canonical
- title: Delete
- weight: 10