IIconWidget.php 443 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. /**
  9. * Allow getting the absolute icon url for a widget
  10. *
  11. * @since 25.0.0
  12. */
  13. interface IIconWidget extends IWidget {
  14. /**
  15. * Get the absolute url for the widget icon
  16. *
  17. * @return string
  18. * @since 25.0.0
  19. */
  20. public function getIconUrl(): string;
  21. }