forked from humhub-contrib/linklist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
19 lines (17 loc) · 983 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
use humhub\modules\space\widgets\Menu;
use humhub\modules\user\widgets\ProfileMenu;
use humhub\modules\user\widgets\ProfileSidebar;
use humhub\modules\space\widgets\Sidebar;
return [
'id' => 'linklist',
'class' => 'humhub\modules\linklist\Module',
'namespace' => 'humhub\modules\linklist',
'events' => [
array('class' => Menu::className(), 'event' => Menu::EVENT_INIT, 'callback' => array('humhub\modules\linklist\Module', 'onSpaceMenuInit')),
array('class' => ProfileMenu::className(), 'event' => ProfileMenu::EVENT_INIT, 'callback' => array('humhub\modules\linklist\Module', 'onProfileMenuInit')),
array('class' => Sidebar::className(), 'event' => Sidebar::EVENT_INIT, 'callback' => array('humhub\modules\linklist\Module', 'onSpaceSidebarInit')),
array('class' => ProfileSidebar::className(), 'event' => ProfileSidebar::EVENT_INIT, 'callback' => array('humhub\modules\linklist\Module', 'onProfileSidebarInit')),
],
];
?>