You are here

message_subscribe_ui.routing.yml in Message Subscribe 8

message_subscribe_ui/message_subscribe_ui.routing.yml

File

message_subscribe_ui/message_subscribe_ui.routing.yml
View source
  1. message_subscribe_ui.tab:
  2. path: '/user/{user}/message-subscribe'
  3. defaults:
  4. _title: Subscriptions
  5. _controller: '\Drupal\message_subscribe_ui\Controller\SubscriptionController::tab'
  6. requirements:
  7. _custom_access: '\Drupal\message_subscribe_ui\Controller\SubscriptionController::tabAccess'
  8. message_subscribe_ui.tab.flag:
  9. path: '/user/{user}/message-subscribe/{flag}'
  10. defaults:
  11. _title_callback: '\Drupal\message_subscribe_ui\Controller\SubscriptionController::tabTitle'
  12. _controller: '\Drupal\message_subscribe_ui\Controller\SubscriptionController::tab'
  13. requirements:
  14. _custom_access: '\Drupal\message_subscribe_ui\Controller\SubscriptionController::tabAccess'