This repository was archived by the owner on Jul 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.php
More file actions
43 lines (42 loc) · 1.37 KB
/
config.php
File metadata and controls
43 lines (42 loc) · 1.37 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
37
38
39
40
41
42
43
<?php
namespace humhub\modules\adspanel;
return [
'id' => 'adspanel',
'class' => 'humhub\modules\adspanel\Module',
'namespace' => 'humhub\modules\adspanel',
'events' => [
[
'class' => \humhub\modules\dashboard\widgets\Sidebar::className(),
'event' => \humhub\modules\dashboard\widgets\Sidebar::EVENT_INIT,
'callback' => array(
'humhub\modules\adspanel\Events',
'addAdFrame'
)
],
[
'class' => \humhub\modules\space\widgets\Sidebar::className(),
'event' => \humhub\modules\space\widgets\Sidebar::EVENT_INIT,
'callback' => array(
'humhub\modules\adspanel\Events',
'addAdFrame'
)
],
[
'class' => \humhub\modules\user\widgets\ProfileSidebar::className(),
'event' => \humhub\modules\user\widgets\ProfileSidebar::EVENT_INIT,
'callback' => array(
'humhub\modules\adspanel\Events',
'addAdFrame'
)
],
[
'class' => \humhub\modules\admin\widgets\AdminMenu::className(),
'event' => \humhub\modules\admin\widgets\AdminMenu::EVENT_INIT,
'callback' => [
'humhub\modules\adspanel\Events',
'onAdminMenuInit'
]
]
]
];
?>