-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
29 lines (26 loc) · 890 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
26
27
28
29
<?php
//use humhub\modules\content\widgets\WallEntryControls;
use humhub\components\ActiveRecord;
use humhub\modules\content\components\ContentActiveRecord;
use humhub\modules\content\widgets\WallEntryLinks;
return [
'id' => 'mentionedUsers',
'class' => 'humhub\modules\mentionedUsers\Module',
'namespace' => 'humhub\modules\mentionedUsers',
'events' => [
[
'class' => ActiveRecord::className(),
'event' => ActiveRecord::EVENT_BEFORE_DELETE,
'callback' => [
'humhub\modules\mentionedUsers\Events', 'onContentDelete'
]
],
[
'class' => ContentActiveRecord::className(),
'event' => ContentActiveRecord::EVENT_AFTER_INSERT,
'callback' => [
'humhub\modules\mentionedUsers\Events', 'afterContentInsert'
]
]
],
];