summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/BasketDashlet.php
blob: 10f2b815e8550ea1c0dcc9b64e272b9228b49494 (plain)
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
<?php

namespace Icinga\Module\Director\Dashboard\Dashlet;

class BasketDashlet extends Dashlet
{
    protected $icon = 'tag';

    public function getTitle()
    {
        return $this->translate('Configuration Baskets');
    }

    public function getSummary()
    {
        return $this->translate(
            'Preserve specific configuration objects in a specific state'
        );
    }

    public function getUrl()
    {
        return 'director/baskets';
    }

    public function listRequiredPermissions()
    {
        return array('director/admin');
    }
}