forked from kanboard/plugin-example-automatic-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlugin.php
42 lines (35 loc) · 915 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
40
41
42
<?php
namespace Kanboard\Plugin\DeleteTaskOnCloseColumn;
use Kanboard\Core\Plugin\Base;
use Kanboard\Plugin\DeleteTaskOnCloseColumn\Action\DeleteClosedTask;
class Plugin extends Base
{
public function initialize()
{
$this->actionManager->register(new DeleteClosedTask($this->container));
}
public function getPluginName()
{
return 'DeleteTaskOnCloseColumn';
}
public function getPluginDescription()
{
return t('Automatically delete task to a specific column when closed');
}
public function getPluginAuthor()
{
return 'Timothe FLENET';
}
public function getPluginVersion()
{
return '1.0.0';
}
public function getPluginHomepage()
{
return 'https://github.com/dreamtim/kanboard-DeleteTaskOnCloseColumn';
}
public function getCompatibleVersion()
{
return '>=1.0.44';
}
}