1
0

IHideFromCollaborationBackend.php 534 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Group\Backend;
  8. /**
  9. * @since 16.0.0
  10. *
  11. * Allow the backend to mark groups to be excluded from being shown in search dialogs
  12. */
  13. interface IHideFromCollaborationBackend {
  14. /**
  15. * Check if a group should be hidden from search dialogs
  16. *
  17. * @param string $groupId
  18. * @return bool
  19. * @since 16.0.0
  20. */
  21. public function hideGroup(string $groupId): bool;
  22. }