braintree_cashier-8.x-4.x-dev/braintree_cashier.links.task.yml
braintree_cashier.links.task.yml
# Subscription routing definition
braintree_cashier_subscription.settings_tab:
route_name: braintree_cashier_subscription.settings
title: 'Settings'
base_route: braintree_cashier_subscription.settings
entity.braintree_cashier_subscription.canonical:
route_name: entity.braintree_cashier_subscription.canonical
base_route: entity.braintree_cashier_subscription.canonical
title: 'View'
entity.braintree_cashier_subscription.edit_form:
route_name: entity.braintree_cashier_subscription.edit_form
base_route: entity.braintree_cashier_subscription.canonical
title: 'Edit'
entity.braintree_cashier_subscription.delete_form:
route_name: entity.braintree_cashier_subscription.delete_form
base_route: entity.braintree_cashier_subscription.canonical
title: Delete
weight: 10
# Billing plan routing definition
braintree_cashier_billing_plan.settings_tab:
route_name: braintree_cashier_billing_plan.settings
title: 'Settings'
base_route: braintree_cashier_billing_plan.settings
entity.braintree_cashier_billing_plan.canonical:
route_name: entity.braintree_cashier_billing_plan.canonical
base_route: entity.braintree_cashier_billing_plan.canonical
title: 'View'
entity.braintree_cashier_billing_plan.edit_form:
route_name: entity.braintree_cashier_billing_plan.edit_form
base_route: entity.braintree_cashier_billing_plan.canonical
title: 'Edit'
entity.braintree_cashier_billing_plan.delete_form:
route_name: entity.braintree_cashier_billing_plan.delete_form
base_route: entity.braintree_cashier_billing_plan.canonical
title: Delete
weight: 10
# Subscription tabs.
braintree_cashier.collection:
title: 'Subscription'
route_name: braintree_cashier.my_subscription
base_route: entity.user.canonical
braintree_cashier.my_subscription:
title: 'My Subscription'
route_name: braintree_cashier.my_subscription
parent_id: braintree_cashier.collection
weight: 0
braintree_cashier.invoices:
title: 'Invoices'
route_name: braintree_cashier.invoices
parent_id: braintree_cashier.collection
weight: 10
braintree_cashier.payment_method:
title: 'Payment Method'
route_name: braintree_cashier.payment_method
parent_id: braintree_cashier.collection
weight: 20
braintree_cashier.cancel:
title: 'Cancel'
route_name: braintree_cashier.cancel
parent_id: braintree_cashier.collection
weight: 30
options:
attributes:
class:
- 'local-task--cancel-subscription'
# Discount routing definition
braintree_cashier_discount.settings_tab:
route_name: braintree_cashier_discount.settings
title: 'Settings'
base_route: braintree_cashier_discount.settings
entity.braintree_cashier_discount.canonical:
route_name: entity.braintree_cashier_discount.canonical
base_route: entity.braintree_cashier_discount.canonical
title: 'View'
entity.braintree_cashier_discount.edit_form:
route_name: entity.braintree_cashier_discount.edit_form
base_route: entity.braintree_cashier_discount.canonical
title: 'Edit'
entity.braintree_cashier_discount.delete_form:
route_name: entity.braintree_cashier_discount.delete_form
base_route: entity.braintree_cashier_discount.canonical
title: Delete
weight: 10
