-
Notifications
You must be signed in to change notification settings - Fork 3
/
Plugin.php
39 lines (31 loc) · 891 Bytes
/
Plugin.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
30
31
32
33
34
35
36
37
38
39
<?php
namespace Kanboard\Plugin\Theme_auto_day_night;
use Kanboard\Core\Plugin\Base;
class Plugin extends Base
{
public function initialize()
{
$this->template->hook->attach('template:config:integrations', 'theme_auto_day_night:config/integration');
$this->template->hook->attach('template:layout:head', 'theme_auto_day_night:layout/head');
}
public function getPluginName()
{
return 'Theme_auto_day_night';
}
public function getPluginDescription()
{
return t('Example dark mode including users timezone as per #1967');
}
public function getPluginAuthor()
{
return 'CoMPa Technology';
}
public function getPluginVersion()
{
return '0.1.1';
}
public function getPluginHomepage()
{
return 'https://github.com/CoMPaTech/plugin-theme_auto_day_night.git';
}
}