-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconfig.php
More file actions
35 lines (32 loc) · 1.02 KB
/
config.php
File metadata and controls
35 lines (32 loc) · 1.02 KB
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
30
31
32
33
34
35
<?php
/**
* Clean Theme
* @link https://github.com/cuzy-app/clean-theme
* @license https://github.com/cuzy-app/clean-theme/blob/master/docs/LICENCE.md
* @author [Marc FARRE](https://marc.fun) for [CUZY.APP](https://www.cuzy.app)
*/
use humhub\components\console\Application;
use humhub\components\View;
use humhub\modules\cleanTheme\Events;
return [
'id' => 'clean-theme',
'class' => humhub\modules\cleanTheme\Module::class,
'namespace' => 'humhub\modules\cleanTheme',
'events' => [
[
'class' => Application::class,
'event' => Application::EVENT_ON_INIT,
'callback' => [Events::class, 'onConsoleApplicationInit'],
],
[
'class' => View::class,
'event' => View::EVENT_BEFORE_RENDER,
'callback' => [Events::class, 'onViewBeforeRender'],
],
[
'class' => View::class,
'event' => View::EVENT_BEGIN_BODY,
'callback' => [Events::class, 'onViewBeginBody'],
],
],
];