mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
Drop BasketAction as it's not used anywhere
This commit is contained in:
parent
2aca4dc6d5
commit
43691f6612
@ -1,34 +0,0 @@
|
|||||||
<?php
|
|
||||||
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
|
||||||
|
|
||||||
namespace Icinga\Web\Widget\Tabextension;
|
|
||||||
|
|
||||||
use Icinga\Web\Widget\Tabs;
|
|
||||||
use Icinga\Web\Url;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tabextension that adds the basket command
|
|
||||||
*
|
|
||||||
* @TODO: Baskets are not supported in the codebase yet (Feature #4537)
|
|
||||||
*/
|
|
||||||
class BasketAction implements Tabextension
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Applies the dashboard actions to the provided tabset
|
|
||||||
*
|
|
||||||
* @param Tabs $tabs The tabs object to extend with
|
|
||||||
*/
|
|
||||||
public function apply(Tabs $tabs)
|
|
||||||
{
|
|
||||||
$tabs->addAsDropdown(
|
|
||||||
'basket',
|
|
||||||
array(
|
|
||||||
'title' => 'URL Basket',
|
|
||||||
'url' => Url::fromPath('basket/add'),
|
|
||||||
'urlParams' => array(
|
|
||||||
'url' => Url::fromRequest()->getRelativeUrl()
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user