-
Notifications
You must be signed in to change notification settings - Fork 0
/
elgg-plugin.php
executable file
·37 lines (36 loc) · 957 Bytes
/
elgg-plugin.php
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
36
37
<?php
return [
'bootstrap' => \Pessek\PessekNotifications\Bootstrap::class,
'actions' => [
'admin/notifications/methods' => [
'access' => 'admin',
],
'admin/notifications/test_email' => [
'access' => 'admin',
],
'notifications/mark_all_read' => [],
'notifications/mark_read' => [],
'notifications/settings/digest' => [],
],
'routes' => [
'collection:notification:owner' => [
'path' => '/notifications/all/{username?}',
'resource' => 'notifications/all',
],
'view:notification' => [
'path' => '/notifications/view/{id}',
'resource' => 'notifications/view',
],
'settings:notification:digest' => [
'path' => '/notifications/settings/digest/{username?}',
'resource' => 'notifications/settings/digest',
],
'ajax:notifications:ticker' => [
'path' => '/notifications/ticker',
'resource' => 'notifications/ticker',
],
],
'upgrades' => [
\Pessek\PessekNotifications\MigrateNotifier::class,
],
];