This repository was archived by the owner on Aug 3, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.php
More file actions
36 lines (34 loc) · 1.07 KB
/
config.php
File metadata and controls
36 lines (34 loc) · 1.07 KB
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\twitter;
return [
'id' => 'twitter',
'class' => 'humhub\modules\twitter\Module',
'namespace' => 'humhub\modules\twitter',
'events' => [
[
'class' => \humhub\modules\dashboard\widgets\Sidebar::className(),
'event' => \humhub\modules\dashboard\widgets\Sidebar::EVENT_INIT,
'callback' => [
'humhub\modules\twitter\Events',
'addTwitterFrame'
]
],
[
'class' => \humhub\modules\space\widgets\Sidebar::className(),
'event' => \humhub\modules\space\widgets\Sidebar::EVENT_INIT,
'callback' => [
'humhub\modules\twitter\Events',
'addTwitterFrame'
]
],
[
'class' => \humhub\modules\admin\widgets\AdminMenu::className(),
'event' => \humhub\modules\admin\widgets\AdminMenu::EVENT_INIT,
'callback' => [
'humhub\modules\twitter\Events',
'onAdminMenuInit'
]
]
]
];
?>