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
033321790e
commit
f30d550c56
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