Plugin.php 392 Bytes
Newer Older
Frederic Guillot's avatar
Frederic Guillot committed
1 2
<?php

3 4
namespace Kanboard\Plugin\Theme;
use Kanboard\Core\Plugin\Base;
Frederic Guillot's avatar
Frederic Guillot committed
5

6
class Plugin extends Base
Frederic Guillot's avatar
Frederic Guillot committed
7 8 9
{
    public function initialize()
    {
10 11
        $this->template->hook->attach('template:layout:head', 'theme:layout/head');
        $this->template->hook->attach('template:layout:top', 'theme:layout/top');
12
        $this->template->setTemplateOverride('header', 'theme:layout/header');
Frederic Guillot's avatar
Frederic Guillot committed
13 14
    }
}