-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
21 lines (19 loc) · 1013 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
use olan\wbowhiteboard\Events;
use humhub\modules\admin\widgets\AdminMenu;
use humhub\widgets\TopMenu;
use humhub\modules\space\widgets\Menu;
use humhub\modules\space\widgets\HeaderControlsMenu;
use humhub\modules\space\modules\manage\widgets\DefaultMenu;
return [
'id' => 'wbo-whiteboard',
'class' => 'olan\wbowhiteboard\Module',
'namespace' => 'olan\wbowhiteboard',
'events' => [
// ['class' => TopMenu::class, 'event' => TopMenu::EVENT_INIT, 'callback' => [Events::class, 'onTopMenuInit']],
['class' => AdminMenu::class, 'event' => AdminMenu::EVENT_INIT, 'callback' => [Events::class, 'onAdminMenuInit']],
['class' => HeaderControlsMenu::class, 'event' => HeaderControlsMenu::EVENT_INIT, 'callback' => [Events::class, 'onSpaceHeaderControlsMenu']],
['class' => DefaultMenu::class, 'event' => DefaultMenu::EVENT_INIT, 'callback' => [Events::class, 'onSpaceDefaultMenu']],
['class' => Menu::class, 'event' => Menu::EVENT_INIT, 'callback' => [Events::class, 'onSpaceMenuInit']],
],
];