-
Notifications
You must be signed in to change notification settings - Fork 35
/
config.php
21 lines (19 loc) · 1.13 KB
/
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 humhub\modules\content\widgets\WallEntryControls;
use humhub\modules\space\widgets\Menu;
use humhub\modules\user\widgets\ProfileMenu;
return [
'id' => 'wiki',
'class' => 'humhub\modules\wiki\Module',
'namespace' => 'humhub\modules\wiki',
'urlManagerRules' => [
['class' => 'humhub\modules\wiki\components\WikiPageUrlRule'],
],
'events' => [
['class' => Menu::class, 'event' => Menu::EVENT_INIT, 'callback' => ['humhub\modules\wiki\Events', 'onSpaceMenuInit']],
['class' => ProfileMenu::class, 'event' => ProfileMenu::EVENT_INIT, 'callback' => ['humhub\modules\wiki\Events', 'onProfileMenuInit']],
['class' => 'humhub\modules\rest\Module', 'event' => 'restApiAddRules', 'callback' => ['humhub\modules\wiki\Events', 'onRestApiAddRules']],
['class' => 'humhub\modules\legal\services\ExportService', 'event' => 'collectUserData', 'callback' => ['humhub\modules\wiki\Events', 'onLegalModuleUserDataExport']],
['class' => WallEntryControls::class, 'event' => WallEntryControls::EVENT_INIT, 'callback' => ['humhub\modules\wiki\Events', 'onWallEntryControlsInit']],
],
];