forked from KeudellCoding/HumHub-Modules-UserMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
22 lines (20 loc) · 787 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
* User Location Map
*
* @package humhub.modules.usermap
* @author KeudellCoding
*/
use humhub\modules\dashboard\widgets\Sidebar as DashboardSidebar;
use humhub\modules\marketplace\components\OnlineModuleManager;
use humhub\widgets\TopMenu;
return [
'id' => 'usermap',
'class' => 'humhub\modules\usermap\Module',
'namespace' => 'humhub\modules\usermap',
'events' => [
[TopMenu::class, TopMenu::EVENT_INIT, ['\humhub\modules\usermap\Events', 'onTopMenuInit']],
[DashboardSidebar::class, DashboardSidebar::EVENT_INIT, ['\humhub\modules\usermap\Events', 'onDashboardSidebarInit']],
[OnlineModuleManager::class, OnlineModuleManager::EVENT_AFTER_UPDATE, ['\humhub\modules\usermap\Events', 'onAfterUpdate']]
]
];