2022-09-08 05:48:00 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2022-09-08 05:48:00 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Dashboard;
|
|
|
|
|
|
2022-09-13 07:03:35 -04:00
|
|
|
use OCP\Dashboard\Model\WidgetOptions;
|
|
|
|
|
|
2022-09-08 05:48:00 -04:00
|
|
|
/**
|
|
|
|
|
* Allow getting widget options
|
|
|
|
|
*
|
|
|
|
|
* @since 25.0.0
|
|
|
|
|
*/
|
2022-09-13 07:03:35 -04:00
|
|
|
interface IOptionWidget extends IWidget {
|
2022-09-08 05:48:00 -04:00
|
|
|
/**
|
2022-09-13 07:03:35 -04:00
|
|
|
* Get additional options for the widget
|
2022-09-16 02:23:04 -04:00
|
|
|
* @since 25.0.0
|
2022-09-08 05:48:00 -04:00
|
|
|
*/
|
2022-09-13 07:03:35 -04:00
|
|
|
public function getWidgetOptions(): WidgetOptions;
|
2022-09-08 05:48:00 -04:00
|
|
|
}
|