blob: 18a4731de9199ee2bed3b3506b373496768d8c08 (
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
|
<?php
namespace Icinga\Module\Director\Dashboard\Dashlet;
use Icinga\Module\Director\Auth\Permission;
class CommandObjectDashlet extends Dashlet
{
protected $icon = 'wrench';
protected $requiredStats = ['command'];
public function getTitle()
{
return $this->translate('Commands');
}
public function getUrl()
{
return 'director/dashboard?name=commands';
}
public function listRequiredPermissions()
{
return [Permission::ADMIN];
}
}
|