-
Notifications
You must be signed in to change notification settings - Fork 15
/
config.php
21 lines (19 loc) · 992 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 humhub\modules\activity\models\Activity;
use humhub\modules\content\components\ContentActiveRecord;
use humhub\modules\content\models\Content;
use humhub\modules\content\widgets\WallEntryLinks;
use humhub\modules\notification\models\Notification;
use humhub\modules\sharebetween\Events;
return [
'id' => 'sharebetween',
'class' => 'humhub\modules\sharebetween\Module',
'namespace' => 'humhub\modules\sharebetween',
'events' => [
[Content::class, Content::EVENT_AFTER_SOFT_DELETE, [Events::class, 'onContentAfterSoftDelete']],
[ContentActiveRecord::class, ContentActiveRecord::EVENT_BEFORE_DELETE, [Events::class, 'onContentDelete']],
[WallEntryLinks::class, WallEntryLinks::EVENT_INIT, [Events::class, 'onWallEntryLinksInit']],
[Activity::class, Activity::EVENT_AFTER_FIND, [Events::class, 'onActivityAfterFind']],
[Notification::class, Notification::EVENT_AFTER_FIND, [Events::class, 'onNotificationAfterFind']],
],
];