mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 10:57:40 +02:00
Dashboard: Introduce OverridingWidget
interface
This commit is contained in:
parent
b42fcd96f5
commit
42581e8d7f
24
library/Icinga/Web/Dashboard/OverridingWidget.php
Normal file
24
library/Icinga/Web/Dashboard/OverridingWidget.php
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/* Icinga Web 2 | (c) 2022 Icinga GmbH | GPLv2+ */
|
||||||
|
|
||||||
|
namespace Icinga\Web\Dashboard;
|
||||||
|
|
||||||
|
interface OverridingWidget
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Set whether this widget overrides another widget
|
||||||
|
*
|
||||||
|
* @param bool $override
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function override(bool $override);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get whether this widget overrides another widget
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function isOverriding();
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user