Plugin.php 716 Bytes
Newer Older
Adam Procter's avatar
Adam Procter committed
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

namespace Kanboard\Plugin\Procter;

use Kanboard\Core\Plugin\Base;

class Plugin extends Base
{
    public function initialize()
    {
        $this->hook->on("template:layout:css", array("template" => "plugins/Procter/main.css"));
    }

    public function getPluginName()
    {
        return 'Procter';
    }

    public function getPluginDescription()
    {
        return t('A CSS-only theme for Kanboard');
    }

    public function getPluginAuthor()
    {
        return 'Adam Procter';
    }

    public function getPluginVersion()
    {
        return '0.1';
    }

    public function getPluginHomepage()
    {
Adam Procter's avatar
update  
Adam Procter committed
36
        return 'https://gitlab.adamprocter.co.uk/adamprocter/kanboard-theme';
Adam Procter's avatar
Adam Procter committed
37 38
    }
}