-
Notifications
You must be signed in to change notification settings - Fork 7
/
message_private.routing.yml
35 lines (32 loc) · 1.1 KB
/
message_private.routing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
message_private.settings:
path: '/admin/config/message/message-private'
defaults:
_title: 'Message Private Settings'
_description: 'Message Private settings'
_form: 'Drupal\message_private\Form\SettingsForm'
requirements:
_permission: 'administer message private'
options:
_admin_route: TRUE
message_private.messages:
path: '/user/{user}/messages'
defaults:
_controller: '\Drupal\message_private\Controller\MessagePrivateController::inBox'
requirements:
_permission: 'view private_message message'
message_private.messages.inbox:
path: '/user/{user}/messages/inbox'
defaults:
_controller: '\Drupal\message_private\Controller\MessagePrivateController::inBox'
_title: 'Inbox'
description: 'Message Private Inbox'
requirements:
_permission: 'view private_message message'
message_private.messages.sent:
path: '/user/{user}/messages/sent'
defaults:
_controller: '\Drupal\message_private\Controller\MessagePrivateController::sent'
_title: 'Sent'
description: 'Message Private Sent'
requirements:
_permission: 'create private_message message'