forked from GreenMeteor/chatwee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
36 lines (34 loc) · 1.07 KB
/
config.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
<?php
namespace humhub\modules\chatwee;
return [
'id' => 'chatwee',
'class' => 'humhub\modules\chatwee\Module',
'namespace' => 'humhub\modules\chatwee',
'events' => [
[
'class' => \humhub\modules\dashboard\widgets\Sidebar::className(),
'event' => \humhub\modules\dashboard\widgets\Sidebar::EVENT_INIT,
'callback' => [
'humhub\modules\chatwee\Events',
'addChatweeFrame'
]
],
[
'class' => \humhub\modules\space\widgets\Sidebar::className(),
'event' => \humhub\modules\space\widgets\Sidebar::EVENT_INIT,
'callback' => [
'humhub\modules\chatwee\Events',
'addChatweeFrame'
]
],
[
'class' => \humhub\modules\admin\widgets\AdminMenu::className(),
'event' => \humhub\modules\admin\widgets\AdminMenu::EVENT_INIT,
'callback' => [
'humhub\modules\chatwee\Events',
'onAdminMenuInit'
]
]
]
];
?>