summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/DatafieldDashlet.php
blob: 03f2d8dbef781ed519fee1ff65e864769a83de56 (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 DatafieldDashlet extends Dashlet
{
    protected $icon = 'edit';

    public function getTitle()
    {
        return $this->translate('Define Data Fields');
    }

    public function getSummary()
    {
        return $this->translate(
            'Data fields make sure that configuration fits your rules'
        );
    }

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

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