IOptionWidget.php 452 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Dashboard;
  8. use OCP\Dashboard\Model\WidgetOptions;
  9. /**
  10. * Allow getting widget options
  11. *
  12. * @since 25.0.0
  13. */
  14. interface IOptionWidget extends IWidget {
  15. /**
  16. * Get additional options for the widget
  17. * @since 25.0.0
  18. */
  19. public function getWidgetOptions(): WidgetOptions;
  20. }