Dashboard: Introduce OverridingWidget interface

This commit is contained in:
Yonas Habteab 2022-03-11 16:37:55 +01:00
parent 033321790e
commit f30d550c56

View 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();
}