-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
25 lines (22 loc) · 948 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
23
24
25
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2018 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
use humhub\components\Application;
use humhub\modules\ui\form\widgets\BasePicker;
use humhub\modules\space\widgets\SpaceDirectoryTagList;
use humhub\modules\user\widgets\PeopleTagList;
/** @noinspection MissedFieldInspection */
return [
'id' => 'customize-tags',
'class' => 'humhub\modules\customizetags\Module',
'namespace' => 'humhub\modules\customizetags',
'events' => [
[BasePicker::class, BasePicker::EVENT_BEFORE_RUN, ['\humhub\modules\customizetags\Events', 'onBasePicker']],
[SpaceDirectoryTagList::class, SpaceDirectoryTagList::EVENT_BEFORE_RUN, ['\humhub\modules\customizetags\Events', 'onSpaceDirectoryTagList']],
[PeopleTagList::class, PeopleTagList::EVENT_BEFORE_RUN, ['\humhub\modules\customizetags\Events', 'onUserDirectoryTagList']]
]
];
?>